mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* breakpoint.c (all_locations_are_pending): Consider locations
in program spaces executing during startup pending as well.
This commit is contained in:
parent
8b282ca52a
commit
8645ff697e
@ -1,3 +1,8 @@
|
||||
2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* breakpoint.c (all_locations_are_pending): Consider locations
|
||||
in program spaces executing during startup pending as well.
|
||||
|
||||
2012-01-04 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
Copyright year update in most files of the GDB Project.
|
||||
|
@ -11498,7 +11498,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user