aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/osfsolib.c8
2 files changed, 13 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 59f6302..09e957f 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 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;
}