aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-05-22 23:03:42 +0000
committerStu Grossman <grossman@cygnus>1995-05-22 23:03:42 +0000
commitf5a8f1a6f38e8f87950258eb7a3f5417392458ac (patch)
tree0d8e96d2ca380b50241f8d7488f0e67f534d5272 /gdb/procfs.c
parent8574107796387f81e1e82756750f65063ad2eb5b (diff)
downloadgdb-f5a8f1a6f38e8f87950258eb7a3f5417392458ac.zip
gdb-f5a8f1a6f38e8f87950258eb7a3f5417392458ac.tar.gz
gdb-f5a8f1a6f38e8f87950258eb7a3f5417392458ac.tar.bz2
* breakpoint.c: Move defaults of watchpoint related macros into
target.h. * target.h: Macros from breakpoint.c. Conditionalize based on TARGET_HAS_HARDWARE_WATCHPOINTS. * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint code. * config/i386/nm-linux.h, config/mips/nm-irix4.h, config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index dba7599..c2605d5 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -3659,7 +3659,7 @@ procfs_can_run ()
{
return(1);
}
-#ifdef TARGET_CAN_USE_HARDWARE_WATCHPOINT
+#ifdef TARGET_HAS_HARDWARE_WATCHPOINTS
/* Insert a watchpoint */
int