aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-04-21 21:19:58 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-04-21 21:19:58 +0000
commit9e8db4456ea7c15cce7a22b4073229d5d22c46b3 (patch)
tree47c54933398c4dd49727a0e9d92b337ac8c811a2 /gdb/breakpoint.c
parent739324d734b99119379711504fc112f3c8013b4a (diff)
downloadgdb-9e8db4456ea7c15cce7a22b4073229d5d22c46b3.zip
gdb-9e8db4456ea7c15cce7a22b4073229d5d22c46b3.tar.gz
gdb-9e8db4456ea7c15cce7a22b4073229d5d22c46b3.tar.bz2
* breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
target null pointer. * blockframe.c (find_frame_addr_in_frame_chain): Likewise. * printcmd.c (output_command): Annotate things we print here too. * Move declaration of print_value_flags from defs.h to value.h. * main.c (command_line_input): Call wrap_here as well as gdb_flush.
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;