forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user