aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2009-05-11 11:13:09 +0000
committerPierre Muller <muller@sourceware.org>2009-05-11 11:13:09 +0000
commitd92524f1eed2a35b03b982ef6a1a2cee4c3a06ae (patch)
treeaaabdbb2fb441dc822a02be6b8bf38434d3f84cc /gdb/remote-mips.c
parent77ae44b0d39284201a63877b175d5ac622fe9b60 (diff)
downloadgdb-d92524f1eed2a35b03b982ef6a1a2cee4c3a06ae.zip
gdb-d92524f1eed2a35b03b982ef6a1a2cee4c3a06ae.tar.gz
gdb-d92524f1eed2a35b03b982ef6a1a2cee4c3a06ae.tar.bz2
Unify target macros.
* target.h (STOPPED_BY_WATCHPOINT): Delete, replaced by ... (target_stoppped_by_watchpoint): New macro. (HAVE_STEPPABLE_WATCHPOINT): Delete, replaced by ... (target_have_steppable_watchpoint): New macro. (HAVE_CONTINUABLE_WATCHPOINT): Delete, replace by ... (target_have_continuable_watchpoint): New macro. (TARGET_CAN_USE_HARDWARE_WATCHPOINT):Delete, replaced by ... (target_can_use_hardware_watchpoint): New macro. (TARGET_REGION_OK_FOR_HW_WATCHPOINT):Delete, replaced by ... (target_region_ok_for_hw_watchpoint): New macro. * breakpoint.c (update_watchpoint): Use new macros. (bpstat_alloc): Likewise. (create_breakpoint): Likewise. (watch_command_1): Likewise. (can_use_hardware_watchpoint): Likewise. (do_enable_breakpoint): Likewise. * infrun.c (handle_inferior_event): Adapt to new macros. * mips-tdep.c (mips_gdbarch_init): Update comments. * procfs.c (procfs_set_watchpoint): Update comment. (procfs_insert_watchpoint): Adapt to new macros. * remote-m32r-sdi.c (m32r_stop): * remote-mips.c (mips_remove_breakpoint): * target.c (debug_to_region_ok_for_hw_watchpoint): Update to new macros. (debug_to_stopped_by_watchpoint): Likewise.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 152fb37..23e845f 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -2249,7 +2249,7 @@ mips_remove_breakpoint (struct bp_target_info *bp_tgt)
/* Tell whether this target can support a hardware breakpoint. CNT
is the number of hardware breakpoints already installed. This
- implements the TARGET_CAN_USE_HARDWARE_WATCHPOINT macro. */
+ implements the target_can_use_hardware_watchpoint macro. */
int
mips_can_use_watchpoint (int type, int cnt, int othertype)