aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2012-09-26 16:36:00 +0000
committerAndrew Burgess <aburgess@broadcom.com>2012-09-26 16:36:00 +0000
commit6f380991ba8ad44acd591d590a8dd974a0c2d561 (patch)
treecbe657056c99c42ae3b979b41cb1c786d8f06781 /gdb/breakpoint.c
parent8b3d5494efd1dc5d3a44ac2d8fe825947bd7bdb7 (diff)
downloadgdb-6f380991ba8ad44acd591d590a8dd974a0c2d561.zip
gdb-6f380991ba8ad44acd591d590a8dd974a0c2d561.tar.gz
gdb-6f380991ba8ad44acd591d590a8dd974a0c2d561.tar.bz2
http://sourceware.org/ml/gdb-patches/2012-09/msg00403.html
gdb/ChangeLog * breakpoint.c (update_global_location_list): Ignore previous duplicate status of a breakpoint when starting a new scan for duplicate breakpoints. gdb/testsuite/ChangeLog * gdb.base/duplicate-bp.c: New file. * gdb.base/duplicate-bp.exp: New file.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 3500d52..4e7c145 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -12462,7 +12462,7 @@ update_global_location_list (int should_insert)
struct bp_location **loc_first_p;
b = loc->owner;
- if (!should_be_inserted (loc)
+ if (!unduplicated_should_be_inserted (loc)
|| !breakpoint_address_is_meaningful (b)
/* Don't detect duplicate for tracepoint locations because they are
never duplicated. See the comments in field `duplicate' of