From: Ulrich Weigand Date: Wed, 4 Jan 2012 12:35:11 +0000 (+0000) Subject: * breakpoint.c (all_locations_are_pending): Consider locations X-Git-Tag: gdb_7_4-2012-01-24-release~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=228566d5c18f67832b2296368c1f0100d5065db6;p=thirdparty%2Fbinutils-gdb.git * breakpoint.c (all_locations_are_pending): Consider locations in program spaces executing during startup pending as well. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f4fdd844dde..d8837a81813 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-01-04 Ulrich Weigand + + * breakpoint.c (all_locations_are_pending): Consider locations + in program spaces executing during startup pending as well. + 2012-01-02 Jan Kratochvil Joel Brobecker diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 172e4198b5b..789f1869a7d 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -11500,7 +11500,8 @@ static int all_locations_are_pending (struct bp_location *loc) { for (; loc; loc = loc->next) - if (!loc->shlib_disabled) + if (!loc->shlib_disabled + && !loc->pspace->executing_startup) return 0; return 1; }