From e6b8a17192da0b6aec983736388451a070b64319 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 14 Apr 1994 14:04:15 +0000 Subject: [PATCH] * procfs.c (procfs_wait): Protect watchpoint code with appropriate #ifdefs. --- gdb/ChangeLog | 5 +++++ gdb/procfs.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e9b10f9cade..70be9129904 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 2215ce38e5e..3d82e230950 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: -- 2.30.2