2009-11-13 Pedro Alves <pedro@codesourcery.com>
authorDaniel Jacobowitz <drow@false.org>
Fri, 13 Nov 2009 22:00:24 +0000 (22:00 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 13 Nov 2009 22:00:24 +0000 (22:00 +0000)
* infrun.c (handle_inferior_event): Set stop_print_frame on
TARGET_WAITKIND_LOADED events, if stopping on solib-events.

gdb/ChangeLog
gdb/infrun.c

index 59cc5c5ddae00e3c82014c7dd55218100e53b67b..cf4d2c0c532411bbb51e32a310a0c21a4f4a2a6c 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-13  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (handle_inferior_event): Set stop_print_frame on
+       TARGET_WAITKIND_LOADED events, if stopping on solib-events.
+
 2009-11-13  Doug Evans  <dje@google.com>
 
        * dcache.c (dcache_block): Replace member newer with next,prev.
index 842ff6b52e579f0263d8757032eb42f23a45466e..9d8ab68cfac0559492aa6f08197e0f46329d16a9 100644 (file)
@@ -2821,6 +2821,10 @@ handle_inferior_event (struct execution_control_state *ecs)
             dynamically loaded objects (among other things).  */
          if (stop_on_solib_events)
            {
+             /* Make sure we print "Stopped due to solib-event" in
+                normal_stop.  */
+             stop_print_frame = 1;
+
              stop_stepping (ecs);
              return;
            }