* breakpoint.c (update_global_location_list): Remove nested

definition of `b'(-Wshadow).
This commit is contained in:
Andrey Smirnov 2011-12-11 03:04:45 +00:00
parent eacd795a56
commit d3fbdd8686
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* breakpoint.c (update_global_location_list): Remove nested
definition of `b'(-Wshadow).
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* breakpoint.c (insert_breakpoint_locations): Rename `error' to

View File

@ -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)