diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f5f4f234a..4c12414e3c 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 a17913f558..27023265fb 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