From: Peter Schauer Date: Tue, 12 Oct 1993 19:37:14 +0000 (+0000) Subject: * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49d607d260f41a6c68f2ffbae019d4e0ff38b734;p=binutils-gdb.git * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly after shared library symbol reading to get rid of warning from heuristic_proc_start. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 59f6302e093..09e957f4514 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue Oct 12 12:33:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly + after shared library symbol reading to get rid of warning from + heuristic_proc_start. + Tue Oct 12 12:01:29 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) * remote-sim.c: fix unterminated character string diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c index 98224ef5a6e..549258adb3a 100644 --- a/gdb/osfsolib.c +++ b/gdb/osfsolib.c @@ -746,9 +746,15 @@ solib_create_inferior_hook() wait_for_inferior (); } while (stop_signal != SIGTRAP); - stop_soon_quietly = 0; + /* solib_add will call reinit_frame_cache via symbol_file_add. + But we are stopped in the runtime loader and we do not have symbols + for the runtime loader. So heuristic_proc_start will be called + and will put out an annoying warning. + Resetting stop_soon_quietly after symbol loading suppresses + the warning. */ solib_add ((char *) 0, 0, (struct target_ops *) 0); + stop_soon_quietly = 0; }