aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
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 e683c20..0686587 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10634,8 +10634,8 @@ update_global_location_list (int should_insert)
{
/* ALL_BP_LOCATIONS bp_location has LOC->OWNER always
non-NULL. */
- struct breakpoint *b = loc->owner;
struct bp_location **loc_first_p;
+ b = loc->owner;
if (!should_be_inserted (loc)
|| !breakpoint_address_is_meaningful (b)