From: Jim Kingdon Date: Mon, 27 Sep 1993 15:30:29 +0000 (+0000) Subject: * remote-udi.c (udi_mourn): Don't pop target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fc6a6b52e8e581794cc5fa231d21dbc158abd80;p=binutils-gdb.git * remote-udi.c (udi_mourn): Don't pop target. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f5f4f234a3..4c12414e3ce 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 a17913f558d..27023265fb6 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