From 49d607d260f41a6c68f2ffbae019d4e0ff38b734 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Tue, 12 Oct 1993 19:37:14 +0000 Subject: [PATCH] * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly after shared library symbol reading to get rid of warning from heuristic_proc_start. --- gdb/ChangeLog | 6 ++++++ gdb/osfsolib.c | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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; } -- 2.30.2