TARGET_WAITKIND_LOADED events during startup (i.e. in the shell).
+2008-05-03 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * infrun.c (handle_inferior_event): Do not insert breakpoints at
+ TARGET_WAITKIND_LOADED events during startup (i.e. in the shell).
+
2008-05-03 Pedro Alves <pedro@codesourcery.com>
* parse.c (parse_exp_in_context): Don't override
{
/* Loading of shared libraries might have changed breakpoint
addresses. Make sure new breakpoints are inserted. */
- if (!breakpoints_always_inserted_mode ())
+ if (stop_soon == NO_STOP_QUIETLY
+ && !breakpoints_always_inserted_mode ())
insert_breakpoints ();
resume (0, TARGET_SIGNAL_0);
prepare_to_wait (ecs);