diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 472eda4..5a909c8 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; } |