* breakpoint.c (all_locations_are_pending): Consider locations
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 4 Jan 2012 12:31:49 +0000 (12:31 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 4 Jan 2012 12:31:49 +0000 (12:31 +0000)
in program spaces executing during startup pending as well.

gdb/ChangeLog
gdb/breakpoint.c

index b051b54564e598a807cc5b995b57021725280e5c..374a44502060ea2376929fdd3d919dc5f8144903 100644 (file)
@@ -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.
index b6445bbc7190beff5d6970db573b17f6a27d2ad3..a0beb154f76209cadd8934a7cd3046427e3407dd 100644 (file)
@@ -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;
 }
This page took 0.031464 seconds and 4 git commands to generate.