OSDN Git Service

* gnu-nat.c: Include "inf-child.h".
authorpalves <palves>
Mon, 20 Jul 2009 15:18:22 +0000 (15:18 +0000)
committerpalves <palves>
Mon, 20 Jul 2009 15:18:22 +0000 (15:18 +0000)
commit5441ece509edf7fbae801440c04043fddae53c10
tree9922881837a1e5c7f54410c7cba7964b8662b0ae
parent6cc1e141933f4dd5f795fc1a6d6fca44949feedc
* gnu-nat.c: Include "inf-child.h".
(gnu_mourn_inferior): Use the passed in target_ops
instead of the gnu_ops global.
(gnu_create_inferior): Inline `attach_to_child', use the passed in
target_ops instead of the gnu_ops global.
(gnu_can_run): Delete.
(gnu_attach): Use the passed in target_ops instead of the gnu_ops
global.
(gnu_detach): Ditto.
(gnu_prepare_to_store, gnu_open): Delete.
(gnu_store_registers, gnu_fetch_registers): Delete declarations.
(gnu_ops): Delete.
(init_gnu_ops): Delete.
(gnu_target): New.
(_initialize_gnu_nat): Don't call init_gnu_ops or add_target here.
* gnu-nat.h (gnu_target): Declare.
* i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Make
static.
(_initialize_i386gnu_nat): New.
gdb/ChangeLog
gdb/gnu-nat.c
gdb/gnu-nat.h
gdb/i386gnu-nat.c