mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
gdb/
2012-11-06 Pedro Alves <palves@redhat.com> PR gdb/14810 * breakpoint.c (bpstat_stop_status): Skip disabled locations. gdb/testsuite/ 2012-11-06 Pedro Alves <palves@redhat.com> PR gdb/14810 * gdb.base/disabled-location.c: New file. * gdb.base/disabled-location.exp: New file.
This commit is contained in:
@ -5175,7 +5175,7 @@ bpstat_stop_status (struct address_space *aspace,
|
||||
if (b->type == bp_hardware_watchpoint && bl != b->loc)
|
||||
break;
|
||||
|
||||
if (bl->shlib_disabled)
|
||||
if (!bl->enabled || bl->shlib_disabled)
|
||||
continue;
|
||||
|
||||
if (!bpstat_check_location (bl, aspace, bp_addr, ws))
|
||||
|
Reference in New Issue
Block a user