aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b166291..28cbeeb 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -2238,7 +2238,7 @@ watch_command (arg, from_tty)
b->watchpoint_frame = FRAME_FP (frame);
}
else
- b->watchpoint_frame = NULL;
+ b->watchpoint_frame = (CORE_ADDR)0;
if (can_use_hardware_watchpoint (b))
b->type = bp_hardware_watchpoint;