* remote-udi.c (udi_mourn): Don't pop target.
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 27 Sep 1993 15:30:29 +0000 (15:30 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 27 Sep 1993 15:30:29 +0000 (15:30 +0000)
gdb/ChangeLog
gdb/remote-udi.c

index 3f5f4f2..4c12414 100644 (file)
@@ -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
index a17913f..2702326 100644 (file)
@@ -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