* osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
authorPeter Schauer <Peter.Schauer@mytum.de>
Tue, 12 Oct 1993 19:37:14 +0000 (19:37 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Tue, 12 Oct 1993 19:37:14 +0000 (19:37 +0000)
after shared library symbol reading to get rid of warning from
heuristic_proc_start.

gdb/ChangeLog
gdb/osfsolib.c

index 59f6302..09e957f 100644 (file)
@@ -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
index 98224ef..549258a 100644 (file)
@@ -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;
 }