OSDN Git Service

* infrun.c (fetch_inferior_event): Only call normal_stop if not
authorpalves <palves>
Sat, 16 Aug 2008 01:04:15 +0000 (01:04 +0000)
committerpalves <palves>
Sat, 16 Aug 2008 01:04:15 +0000 (01:04 +0000)
stopping quietly.

gdb/ChangeLog
gdb/infrun.c

index 4cc052a..d709b5b 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-16  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (fetch_inferior_event): Only call normal_stop if not
+       stopping quietly.
+
 2008-08-15  Luis Machado  <luisgpm@br.ibm.com>
 
        * rs6000-tdep: Include "features/rs6000/powerpc-vsx32.c".
index 9f3fb8c..de7de79 100644 (file)
@@ -1577,7 +1577,9 @@ fetch_inferior_event (void *client_data)
     {
       delete_step_resume_breakpoint (&step_resume_breakpoint);
 
-      normal_stop ();
+      if (stop_soon == NO_STOP_QUIETLY)
+       normal_stop ();
+
       if (step_multi && stop_step)
        inferior_event_handler (INF_EXEC_CONTINUE, NULL);
       else