summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-01-21 16:32:07 +0000
committerPaul Brook <paul@codesourcery.com>2004-01-21 16:32:07 +0000
commitce4db3c7936ff4d7b1ac2d33388a2fc30513b3cc (patch)
treee1d9bce999e4e4d57b759d3e561ebe73710edb5f
parentd4d74e1ca26cf4e1b46d02bc7fed8238ba22c5f5 (diff)
downloadgdb-ce4db3c7936ff4d7b1ac2d33388a2fc30513b3cc.tar.gz
* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
BPSTAT_WHAT_CHECK_SHLIBS.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infrun.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b6198421e49..434932cd4a2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-01-21 Paul Brook <paul@codesourcery.com>
+ * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
+ BPSTAT_WHAT_CHECK_SHLIBS.
+
+2004-01-21 Paul Brook <paul@codesourcery.com>
+
* MAINTAINERS: Add myself to write-after-approval.
2004-01-20 Andrew Cagney <cagney@redhat.com>
diff --git a/gdb/infrun.c b/gdb/infrun.c
index b10d65f76ff..0724546ccfe 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2301,7 +2301,7 @@ process_event_stop_test:
gdb of events. This allows the user to get control
and place breakpoints in initializer routines for
dynamically loaded objects (among other things). */
- if (stop_on_solib_events)
+ if (stop_on_solib_events || stop_stack_dummy)
{
stop_stepping (ecs);
return;