* infrun.c (fetch_inferior_event): Only call normal_stop if not
authorPedro Alves <palves@redhat.com>
Sat, 16 Aug 2008 01:04:16 +0000 (01:04 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 16 Aug 2008 01:04:16 +0000 (01:04 +0000)
stopping quietly.

gdb/ChangeLog
gdb/infrun.c

index 4cc052a846628525c1490cb6f9ee4b3f42d31362..d709b5b4096583365ecc51d7b7a8e39266ed34b7 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 9f3fb8cb9107a522747d4c1efc23bc6a2c22b559..de7de790710ce92e43372dc245e07ac1be8932ee 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