aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-27 15:30:29 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-27 15:30:29 +0000
commit7fc6a6b52e8e581794cc5fa231d21dbc158abd80 (patch)
treeef42999442b313b32ec092135be8cb6a67441f68 /gdb/remote-udi.c
parentb9790da88982c9ccd76d2683919a52e6ae46985f (diff)
downloadgdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.zip
gdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.tar.gz
gdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.tar.bz2
* remote-udi.c (udi_mourn): Don't pop target.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index a17913f..2702326 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -180,8 +180,14 @@ udi_create_inferior (execfile, args, env)
static void
udi_mourn()
{
- pop_target (); /* Pop back to no-child state */
- generic_mourn_inferior ();
+#if 0
+ /* Requiring "target udi" each time you run is a major pain. I suspect
+ this was just blindy copied from remote.c, in which "target" and
+ "run" are combined. Having a udi target without an inferior seems
+ to work between "target udi" and "run", so why not now? */
+ pop_target (); /* Pop back to no-child state */
+#endif
+ generic_mourn_inferior ();
}
/******************************************************************** UDI_OPEN