aboutsummaryrefslogtreecommitdiff
path: root/gdb/osfsolib.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1993-10-12 19:37:14 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1993-10-12 19:37:14 +0000
commit49d607d260f41a6c68f2ffbae019d4e0ff38b734 (patch)
tree8772007e622c6a363171d96ef3dac1a819009c93 /gdb/osfsolib.c
parent59c2be48f9307aed697a2acddb8c128fdd4f9423 (diff)
downloadgdb-49d607d260f41a6c68f2ffbae019d4e0ff38b734.zip
gdb-49d607d260f41a6c68f2ffbae019d4e0ff38b734.tar.gz
gdb-49d607d260f41a6c68f2ffbae019d4e0ff38b734.tar.bz2
* osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
after shared library symbol reading to get rid of warning from heuristic_proc_start.
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r--gdb/osfsolib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c
index 98224ef..549258a 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;
}