]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* procfs.c (procfs_wait): Protect watchpoint code with appropriate
authorJeff Law <law@redhat.com>
Thu, 14 Apr 1994 14:04:15 +0000 (14:04 +0000)
committerJeff Law <law@redhat.com>
Thu, 14 Apr 1994 14:04:15 +0000 (14:04 +0000)
#ifdefs.

gdb/ChangeLog
gdb/procfs.c

index e9b10f9cade83ae3123165361e952f449d43ba06..70be9129904bf24e1cc041a934955b25ecdada48 100644 (file)
@@ -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
index 2215ce38e5ec0132f937ba7476ee81dd5e17fb15..3d82e230950c4fcc0d8bfc9514ddb83323104678 100644 (file)
@@ -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: