aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
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/infrun.c
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/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 3 insertions, 1 deletions
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