aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-11-13 22:00:24 +0000
committerDaniel Jacobowitz <drow@false.org>2009-11-13 22:00:24 +0000
commit55409f9d5fa988a19cd0b69fff68fe83b306bfd2 (patch)
tree2337f8aa250f9e40a9a92556375f34273ee9ff36 /gdb/infrun.c
parent7cbcbded71b7da1f31f63ac3cb5705249e5e4887 (diff)
downloadgdb-55409f9d5fa988a19cd0b69fff68fe83b306bfd2.zip
gdb-55409f9d5fa988a19cd0b69fff68fe83b306bfd2.tar.gz
gdb-55409f9d5fa988a19cd0b69fff68fe83b306bfd2.tar.bz2
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 842ff6b..9d8ab68 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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;
}