* procfs.c (procfs_wait): Protect watchpoint code with appropriate

#ifdefs.
This commit is contained in:
Jeff Law 1994-04-14 14:04:15 +00:00
parent 858ba12156
commit e6b8a17192
2 changed files with 11 additions and 0 deletions

View 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

View 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: