diff options
author | Pedro Alves <palves@redhat.com> | 2014-05-21 18:30:46 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-05-21 18:30:46 +0100 |
commit | 1f5d1b137becfbd8d021640384559b1a458db1ff (patch) | |
tree | 3e2909287bc88a7d62c5c1f2411257dcd52e6fc5 /gdb | |
parent | 132f8e032c8e82980c12d861089da561fc4dda35 (diff) | |
download | gdb-1f5d1b137becfbd8d021640384559b1a458db1ff.zip gdb-1f5d1b137becfbd8d021640384559b1a458db1ff.tar.gz gdb-1f5d1b137becfbd8d021640384559b1a458db1ff.tar.bz2 |
go32-nat.c: Don't override to_open.
Although the string says "Done.", nothing is pushing the target as is.
Removing the method override let's us fall through to the the base
to_open implemention in inf-child.c, which will push the target in
reaction to "target native" in a follow up patch.
gdb/
2014-05-21 Pedro Alves <palves@redhat.com>
* go32-nat.c (go32_open): Delete.
(go32_target): Don't override the to_open method.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/go32-nat.c | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d07283..ef9c904 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-05-21 Pedro Alves <palves@redhat.com> + * go32-nat.c (go32_open): Delete. + (go32_target): Don't override the to_open method. + +2014-05-21 Pedro Alves <palves@redhat.com> + * nto-procfs.c (procfs_can_run): New function. (nto_procfs_ops): New global. (init_procfs_targets): New, based on procfs_target. Install diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index ef5278a..e17707a 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -339,12 +339,6 @@ static struct { }; static void -go32_open (char *name, int from_tty) -{ - printf_unfiltered ("Done. Use the \"run\" command to run the program.\n"); -} - -static void go32_attach (struct target_ops *ops, char *args, int from_tty) { error (_("\ @@ -960,7 +954,6 @@ go32_target (void) { struct target_ops *t = inf_child_target (); - t->to_open = go32_open; t->to_attach = go32_attach; t->to_resume = go32_resume; t->to_wait = go32_wait; |