aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-08-16 01:04:16 +0000
committerPedro Alves <palves@redhat.com>2008-08-16 01:04:16 +0000
commit83c265ab8408ecf21deea17f871be0f198366c48 (patch)
treeaeb57051f7cde8c39e8aabef80759e7a833e5290 /gdb
parent80be390dfcaddd7763a3be3422bc30c616536128 (diff)
downloadgdb-83c265ab8408ecf21deea17f871be0f198366c48.zip
gdb-83c265ab8408ecf21deea17f871be0f198366c48.tar.gz
gdb-83c265ab8408ecf21deea17f871be0f198366c48.tar.bz2
* infrun.c (fetch_inferior_event): Only call normal_stop if not
stopping quietly.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4cc052a..d709b5b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 9f3fb8c..de7de79 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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