diff options
author | Jason Molenda <jmolenda@apple.com> | 2000-01-06 03:07:20 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2000-01-06 03:07:20 +0000 |
commit | c3f6f71df382eaaaac4440a91e6f310d03fb8da6 (patch) | |
tree | f4c8a0660080321182558bd52319654a94e01ea5 /gdb/config/mips | |
parent | 1b45fe546b666d1bd83d474b66525f1a69dbd92f (diff) | |
download | gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.zip gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.tar.gz gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.tar.bz2 |
import gdb-2000-01-05 snapshot
Diffstat (limited to 'gdb/config/mips')
-rw-r--r-- | gdb/config/mips/irix4.mh | 5 | ||||
-rw-r--r-- | gdb/config/mips/irix5.mh | 4 | ||||
-rw-r--r-- | gdb/config/mips/mipsv4.mh | 3 | ||||
-rw-r--r-- | gdb/config/mips/nm-irix4.h | 10 | ||||
-rw-r--r-- | gdb/config/mips/nm-irix5.h | 16 |
5 files changed, 25 insertions, 13 deletions
diff --git a/gdb/config/mips/irix4.mh b/gdb/config/mips/irix4.mh index 68511e6..ce27ed2 100644 --- a/gdb/config/mips/irix4.mh +++ b/gdb/config/mips/irix4.mh @@ -2,7 +2,10 @@ XDEPFILES= ser-tcp.o XM_FILE= xm-irix4.h NAT_FILE= nm-irix4.h -NATDEPFILES= fork-child.o procfs.o irix4-nat.o corelow.o +NATDEPFILES= fork-child.o irix4-nat.o corelow.o procfs.o \ + proc_api.o proc_events.o proc_flags.o proc_why.o + + XM_CLIBS=-lbsd -lsun # use cc in K&R mode, bump up some static compiler tables. CC = cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh1100 diff --git a/gdb/config/mips/irix5.mh b/gdb/config/mips/irix5.mh index 0e27686..47d80f5 100644 --- a/gdb/config/mips/irix5.mh +++ b/gdb/config/mips/irix5.mh @@ -2,5 +2,7 @@ XDEPFILES= ser-tcp.o XM_FILE= xm-irix5.h NAT_FILE= nm-irix5.h -NATDEPFILES= fork-child.o procfs.o irix5-nat.o corelow.o +NATDEPFILES= fork-child.o irix5-nat.o corelow.o procfs.o \ + proc_api.o proc_events.o proc_flags.o proc_why.o + XM_CLIBS=-lbsd -lsun diff --git a/gdb/config/mips/mipsv4.mh b/gdb/config/mips/mipsv4.mh index 87cb7e4..cea9883 100644 --- a/gdb/config/mips/mipsv4.mh +++ b/gdb/config/mips/mipsv4.mh @@ -1,4 +1,5 @@ # Host: Mips running SVR4 XM_FILE= xm-mipsv4.h NAT_FILE= ../nm-sysv4.h -NATDEPFILES= fork-child.o procfs.o mipsv4-nat.o corelow.o core-regset.o solib.o +NATDEPFILES= fork-child.o mipsv4-nat.o corelow.o core-regset.o solib.o \ + procfs.o proc_api.o proc_events.o proc_flags.o proc_why.o diff --git a/gdb/config/mips/nm-irix4.h b/gdb/config/mips/nm-irix4.h index 189dafe..af5a417 100644 --- a/gdb/config/mips/nm-irix4.h +++ b/gdb/config/mips/nm-irix4.h @@ -57,6 +57,10 @@ extern int procfs_stopped_by_watchpoint PARAMS ((int)); /* Use these macros for watchpoint insertion/deletion. */ /* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */ -#define target_insert_watchpoint(addr, len, type) procfs_set_watchpoint (inferior_pid, addr, len, 2) -#define target_remove_watchpoint(addr, len, type) procfs_set_watchpoint (inferior_pid, addr, 0, 0) -extern int procfs_set_watchpoint PARAMS ((int, CORE_ADDR, int, int)); +#define target_insert_watchpoint(ADDR, LEN, TYPE) \ + procfs_set_watchpoint (inferior_pid, ADDR, LEN, TYPE, 0) +#define target_remove_watchpoint(ADDR, LEN, TYPE) \ + procfs_set_watchpoint (inferior_pid, ADDR, 0, 0, 0) +extern int procfs_set_watchpoint PARAMS ((int, CORE_ADDR, int, int, int)); + +#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1 diff --git a/gdb/config/mips/nm-irix5.h b/gdb/config/mips/nm-irix5.h index 3ab4d25..4cf53b6 100644 --- a/gdb/config/mips/nm-irix5.h +++ b/gdb/config/mips/nm-irix5.h @@ -24,22 +24,24 @@ #define TARGET_HAS_HARDWARE_WATCHPOINTS -/* Temporary new watchpoint stuff */ -#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \ - ((type) == bp_hardware_watchpoint) +#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 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) + procfs_stopped_by_watchpoint(inferior_pid) extern int procfs_stopped_by_watchpoint PARAMS ((int)); #define HAVE_NONSTEPPABLE_WATCHPOINT /* Use these macros for watchpoint insertion/deletion. */ /* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */ -#define target_insert_watchpoint(addr, len, type) procfs_set_watchpoint (inferior_pid, addr, len, 2) -#define target_remove_watchpoint(addr, len, type) procfs_set_watchpoint (inferior_pid, addr, 0, 0) -extern int procfs_set_watchpoint PARAMS ((int, CORE_ADDR, int, int)); +#define target_insert_watchpoint(ADDR, LEN, TYPE) \ + procfs_set_watchpoint (inferior_pid, ADDR, LEN, TYPE, 0) +#define target_remove_watchpoint(ADDR, LEN, TYPE) \ + procfs_set_watchpoint (inferior_pid, ADDR, 0, 0, 0) +extern int procfs_set_watchpoint PARAMS ((int, CORE_ADDR, int, int, int)); + +#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1 |