mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* breakpoint.c (bpstat_should_step): Only consider software
watchpoints that have a location.
This commit is contained in:
@@ -3304,7 +3304,7 @@ bpstat_should_step (void)
|
||||
{
|
||||
struct breakpoint *b;
|
||||
ALL_BREAKPOINTS (b)
|
||||
if (breakpoint_enabled (b) && b->type == bp_watchpoint)
|
||||
if (breakpoint_enabled (b) && b->type == bp_watchpoint && b->loc != NULL)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user