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.
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
};
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 (_("\
{
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;