summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>2001-11-15 00:58:29 +0000
committertv <tv@NetBSD.org>2001-11-15 00:58:29 +0000
commitb24bb409e3fea0e22bf65c1cbe73646eb80935ec (patch)
tree994d1ea8ac7ba4a965f7cd0e6ee3d3d1f9999a77 /gnu
parent0911b89ff5a45fe8db7b0fb3ebcd4b46956e112a (diff)
Put solib support in native files, as gdb build will bomb on cross otherwise.
Put longjmp target function in the native .h, since it only works natively.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/toolchain/gdb/config/arm/nbsd.mh2
-rw-r--r--gnu/dist/toolchain/gdb/config/arm/nbsd.mt2
-rw-r--r--gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h10
-rw-r--r--gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h10
4 files changed, 12 insertions, 12 deletions
diff --git a/gnu/dist/toolchain/gdb/config/arm/nbsd.mh b/gnu/dist/toolchain/gdb/config/arm/nbsd.mh
index 2130d9db661..d7a67e71586 100644
--- a/gnu/dist/toolchain/gdb/config/arm/nbsd.mh
+++ b/gnu/dist/toolchain/gdb/config/arm/nbsd.mh
@@ -1,5 +1,5 @@
# Host ARM running NetBSD
XDEPFILES= ser-tcp.o
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o armnbsd-nat.o solib.o
XM_FILE=xm-nbsd.h
NAT_FILE=nm-nbsd.h
diff --git a/gnu/dist/toolchain/gdb/config/arm/nbsd.mt b/gnu/dist/toolchain/gdb/config/arm/nbsd.mt
index 07fda937422..2fff22ffcdd 100644
--- a/gnu/dist/toolchain/gdb/config/arm/nbsd.mt
+++ b/gnu/dist/toolchain/gdb/config/arm/nbsd.mt
@@ -1,3 +1,3 @@
# Target: ARM running NetBSD
-TDEPFILES= arm-tdep.o solib.o
+TDEPFILES= arm-tdep.o
TM_FILE= tm-nbsd.h
diff --git a/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h b/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h
index 4734f97c509..7553a456038 100644
--- a/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h
+++ b/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h
@@ -34,6 +34,16 @@
extern int
arm_register_u_addr PARAMS ((int, int));
+/* Figure out where the longjmp will land. Slurp the args out of the stack.
+ We expect the first arg to be a pointer to the jmp_buf structure from which
+ we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
+ This routine returns true on success */
+
+extern int
+get_longjmp_target PARAMS ((CORE_ADDR *));
+
+#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
+
/* We'd like the functions for handling 26-bit modes, please. */
#define ARM_26BIT_R15
diff --git a/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h b/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h
index d9b84b46ab7..8062578b6bb 100644
--- a/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h
+++ b/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h
@@ -39,16 +39,6 @@
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
STREQ ((name), "_PROCEDURE_LINKAGE_TABLE_")
-/* Figure out where the longjmp will land. Slurp the args out of the stack.
- We expect the first arg to be a pointer to the jmp_buf structure from which
- we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
- This routine returns true on success */
-
-extern int
-get_longjmp_target PARAMS ((CORE_ADDR *));
-
-#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
-
/* For compatibility with previous implemenations of GDB on arm/NetBSD,
override the default little-endian breakpoint. */
#undef ARM_LE_BREAKPOINT