diff options
author | Pedro Alves <palves@redhat.com> | 2009-07-20 15:18:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-07-20 15:18:24 +0000 |
commit | b4d1e8c7001940584b7e63af5411535e42785690 (patch) | |
tree | e5d030d113ffc2349885622e5ce886676f47e90f /gdb/gnu-nat.h | |
parent | * dwarf2loc.c (find_location_expression): Retrieve beginning and (diff) | |
download | binutils-gdb-b4d1e8c7001940584b7e63af5411535e42785690.tar.gz binutils-gdb-b4d1e8c7001940584b7e63af5411535e42785690.tar.bz2 binutils-gdb-b4d1e8c7001940584b7e63af5411535e42785690.zip |
* 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.
Diffstat (limited to 'gdb/gnu-nat.h')
-rw-r--r-- | gdb/gnu-nat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h index c792bb05b1e..d45dbad9fef 100644 --- a/gdb/gnu-nat.h +++ b/gdb/gnu-nat.h @@ -98,4 +98,8 @@ extern int gnu_debug_flag; do { if (gnu_debug_flag) \ fprintf_unfiltered (gdb_stdlog, "%s:%d: " msg "\r\n", __FILE__ , __LINE__ , ##args); } while (0) +/* Create a prototype generic GNU/Hurd target. The client can + override it with local methods. */ +struct target_ops *gnu_target (void); + #endif /* __GNU_NAT_H__ */ |