aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-04-14 14:04:15 +0000
committerJeff Law <law@redhat.com>1994-04-14 14:04:15 +0000
commite6b8a17192da0b6aec983736388451a070b64319 (patch)
treeba3efc39beaabc59b5e66c3ab996be0517121fc2 /gdb/procfs.c
parent858ba121562266f8b7c4ad0d11cde7d04e553dfd (diff)
downloadgdb-e6b8a17192da0b6aec983736388451a070b64319.zip
gdb-e6b8a17192da0b6aec983736388451a070b64319.tar.gz
gdb-e6b8a17192da0b6aec983736388451a070b64319.tar.bz2
* procfs.c (procfs_wait): Protect watchpoint code with appropriate
#ifdefs.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 2215ce3..3d82e23 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -2323,10 +2323,16 @@ wait_again:
case FLTTRACE:
statval = (SIGTRAP << 8) | 0177;
break;
+#ifdef FLTWATCH
case FLTWATCH:
+ statval = (SIGTRAP << 8) | 0177;
+ break;
+#endif
+#ifdef FLTKWATCH
case FLTKWATCH:
statval = (SIGTRAP << 8) | 0177;
break;
+#endif
case FLTSTACK:
case FLTACCESS:
case FLTBOUNDS: