diff options
author | Jeff Law <law@redhat.com> | 1994-04-14 03:13:52 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-04-14 03:13:52 +0000 |
commit | 9ec767849ea2482a024d9057c25ebae08ca41a76 (patch) | |
tree | 521e2645ce16e72c16004ada5450b4242d8f7697 /gdb/config | |
parent | 166d29937906f9730cc29b92b8755be504f48c85 (diff) | |
download | gdb-9ec767849ea2482a024d9057c25ebae08ca41a76.zip gdb-9ec767849ea2482a024d9057c25ebae08ca41a76.tar.gz gdb-9ec767849ea2482a024d9057c25ebae08ca41a76.tar.bz2 |
* config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
(target_{insert,remove}_watchpoint): Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/nm-irix4.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/config/mips/nm-irix4.h b/gdb/config/mips/nm-irix4.h index 81d2708..3c80a59 100644 --- a/gdb/config/mips/nm-irix4.h +++ b/gdb/config/mips/nm-irix4.h @@ -34,3 +34,19 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ config file? */ #define ONE_PROCESS_WRITETEXT + +/* Temporary new watchpoint stuff */ +#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(B) 1 + +/* When a hardware watchpoint fires off the PC will be left at the + instruction which caused the watchpoint. It will be necessary for + GDB to step over the watchpoint. */ + +#define STOPPED_BY_WATCHPOINT(W) \ + procfs_stopped_by_watchpoint(inferior_pid) + +#define HAVE_NONSTEPPABLE_WATCHPOINT + +/* Use these macros for watchpoint insertion/deletion. */ +#define target_insert_watchpoint(addr, len) procfs_set_watchpoint (inferior_pid, addr, len, 2) +#define target_remove_watchpoint(addr, len) procfs_set_watchpoint (inferior_pid, addr, 0, 0) |