* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
authorPaul Brook <paul@codesourcery.com>
Wed, 21 Jan 2004 16:32:07 +0000 (16:32 +0000)
committerPaul Brook <paul@codesourcery.com>
Wed, 21 Jan 2004 16:32:07 +0000 (16:32 +0000)
BPSTAT_WHAT_CHECK_SHLIBS.

gdb/ChangeLog
gdb/infrun.c

index b6198421e49610bc8d940c74162a6e291e30db74..434932cd4a2670400c29016d101a0611df34d79a 100644 (file)
@@ -1,3 +1,8 @@
+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.
index b10d65f76ff9f782268c0b7c49aa93d1df232506..0724546ccfe7f12b40e24ae0511df460dee16aec 100644 (file)
@@ -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;