aboutsummaryrefslogtreecommitdiff
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
parentb9790da88982c9ccd76d2683919a52e6ae46985f (diff)
downloadgdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.zip
gdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.tar.gz
gdb-7fc6a6b52e8e581794cc5fa231d21dbc158abd80.tar.bz2
* remote-udi.c (udi_mourn): Don't pop target.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote-udi.c10
2 files changed, 12 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3f5f4f2..4c12414 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Mon Sep 27 10:22:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * remote-udi.c (udi_mourn): Don't pop target.
+
Fri Sep 24 17:25:41 1993 Stu Grossman (grossman at cygnus.com)
* corelow.c: Add multi thread/process support for core files with
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