aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-08-13 18:03:38 +0000
committerKevin Buettner <kevinb@redhat.com>2002-08-13 18:03:38 +0000
commit1e03ad2088cfda4ebbf8d9358747660171ca33a6 (patch)
treee15ba838f492dffd45c91343a7a0e68bf2d81be1 /gdb/config/mips
parent548bcbeca813f4c010178d1f8bb6b63b1f6de409 (diff)
downloadgdb-1e03ad2088cfda4ebbf8d9358747660171ca33a6.zip
gdb-1e03ad2088cfda4ebbf8d9358747660171ca33a6.tar.gz
gdb-1e03ad2088cfda4ebbf8d9358747660171ca33a6.tar.bz2
* procfs.c (procfs_can_use_hw_breakpoint): New function.
(init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs target vector. * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete. Add comment regarding this now-deleted target method.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/nm-irix5.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/config/mips/nm-irix5.h b/gdb/config/mips/nm-irix5.h
index 8e31b59..59749f6 100644
--- a/gdb/config/mips/nm-irix5.h
+++ b/gdb/config/mips/nm-irix5.h
@@ -24,7 +24,9 @@
#define TARGET_HAS_HARDWARE_WATCHPOINTS
-#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
+/* TARGET_CAN_USE_HARDWARE_WATCHPOINT is now defined to go through
+ the target vector. For Irix5, procfs_can_use_hw_watchpoint()
+ should be invoked. */
/* When a hardware watchpoint fires off the PC will be left at the
instruction which caused the watchpoint. It will be necessary for