aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/procfs.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9b10f9..70be912 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
+
+ * procfs.c (procfs_wait): Protect watchpoint code with appropriate
+ #ifdefs.
+
Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
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: