diff options
author | Daniel Jacobowitz <dan@debian.org> | 2004-09-21 20:44:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2004-09-21 20:44:23 +0000 |
commit | 1b4c63dda5cd2b37f964092a5c53b865e172ff55 (patch) | |
tree | 2922f92b03a4d8e43376ae32c18a7063b86b45e2 /gdb/inf-child.c | |
parent | fca010d7bfaeb7657a222ae31a1ac6d2ff8b22a9 (diff) | |
download | gdb-1b4c63dda5cd2b37f964092a5c53b865e172ff55.tar.gz |
Merge from mainline.drow_intercu-20040221-branchcvs/drow_intercu-20040221-branch
Diffstat (limited to 'gdb/inf-child.c')
-rw-r--r-- | gdb/inf-child.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gdb/inf-child.c b/gdb/inf-child.c index f729611173a..cb7b2ec04d9 100644 --- a/gdb/inf-child.c +++ b/gdb/inf-child.c @@ -27,6 +27,7 @@ #include "symtab.h" #include "target.h" #include "inferior.h" +#include "gdb_string.h" /* Fetch register REGNUM from the inferior. If REGNUM is -1, do this for all registers. */ @@ -55,8 +56,7 @@ void inf_child_post_wait (ptid_t ptid, int wait_status) { /* This version of Unix doesn't require a meaningful "post wait" - operation. - */ + operation. */ } static void @@ -188,14 +188,6 @@ inf_child_pid_to_exec_file (int pid) return NULL; } -static char * -inf_child_core_file_to_sym_file (char *core) -{ - /* The target stratum for a running executable need not support this - operation. */ - return NULL; -} - struct target_ops * inf_child_target (void) { @@ -206,6 +198,8 @@ inf_child_target (void) t->to_open = inf_child_open; t->to_post_attach = inf_child_post_attach; t->to_post_wait = inf_child_post_wait; + t->to_fetch_registers = inf_child_fetch_inferior_registers; + t->to_store_registers = inf_child_store_inferior_registers; t->to_prepare_to_store = inf_child_prepare_to_store; t->to_insert_breakpoint = memory_insert_breakpoint; t->to_remove_breakpoint = memory_remove_breakpoint; |