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.
This commit is contained in:
Daniel Jacobowitz 2009-11-13 22:00:24 +00:00
parent 7cbcbded71
commit 55409f9d5f
2 changed files with 9 additions and 0 deletions

View 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.

View 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;
}