* gnu-nat.c: Include "inf-child.h".
authorPedro Alves <palves@redhat.com>
Mon, 20 Jul 2009 15:18:24 +0000 (15:18 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 20 Jul 2009 15:18:24 +0000 (15:18 +0000)
commitb4d1e8c7001940584b7e63af5411535e42785690
treee5d030d113ffc2349885622e5ce886676f47e90f
parentb5758fe446964d9f8d5b31ba2deb6071040b25cf
* 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