mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
* breakpoint.c (update_global_location_list): Remove nested
definition of `b'(-Wshadow).
This commit is contained in:
@ -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>
|
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
|
||||||
|
|
||||||
* breakpoint.c (insert_breakpoint_locations): Rename `error' to
|
* breakpoint.c (insert_breakpoint_locations): Rename `error' to
|
||||||
|
@ -10634,8 +10634,8 @@ update_global_location_list (int should_insert)
|
|||||||
{
|
{
|
||||||
/* ALL_BP_LOCATIONS bp_location has LOC->OWNER always
|
/* ALL_BP_LOCATIONS bp_location has LOC->OWNER always
|
||||||
non-NULL. */
|
non-NULL. */
|
||||||
struct breakpoint *b = loc->owner;
|
|
||||||
struct bp_location **loc_first_p;
|
struct bp_location **loc_first_p;
|
||||||
|
b = loc->owner;
|
||||||
|
|
||||||
if (!should_be_inserted (loc)
|
if (!should_be_inserted (loc)
|
||||||
|| !breakpoint_address_is_meaningful (b)
|
|| !breakpoint_address_is_meaningful (b)
|
||||||
|
Reference in New Issue
Block a user