Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/gdb/config/arm Put solib support in nativ...
details: https://anonhg.NetBSD.org/src/rev/a68947c0ef3a
branches: trunk
changeset: 517573:a68947c0ef3a
user: tv <tv%NetBSD.org@localhost>
date: Thu Nov 15 00:58:29 2001 +0000
description:
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:
gnu/dist/toolchain/gdb/config/arm/nbsd.mh | 2 +-
gnu/dist/toolchain/gdb/config/arm/nbsd.mt | 2 +-
gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h | 10 ++++++++++
gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h | 10 ----------
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (58 lines):
diff -r 7c1b9f4e9ef6 -r a68947c0ef3a gnu/dist/toolchain/gdb/config/arm/nbsd.mh
--- a/gnu/dist/toolchain/gdb/config/arm/nbsd.mh Thu Nov 15 00:20:26 2001 +0000
+++ b/gnu/dist/toolchain/gdb/config/arm/nbsd.mh Thu Nov 15 00:58:29 2001 +0000
@@ -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 -r 7c1b9f4e9ef6 -r a68947c0ef3a gnu/dist/toolchain/gdb/config/arm/nbsd.mt
--- a/gnu/dist/toolchain/gdb/config/arm/nbsd.mt Thu Nov 15 00:20:26 2001 +0000
+++ b/gnu/dist/toolchain/gdb/config/arm/nbsd.mt Thu Nov 15 00:58:29 2001 +0000
@@ -1,3 +1,3 @@
# Target: ARM running NetBSD
-TDEPFILES= arm-tdep.o solib.o
+TDEPFILES= arm-tdep.o
TM_FILE= tm-nbsd.h
diff -r 7c1b9f4e9ef6 -r a68947c0ef3a gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h
--- a/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h Thu Nov 15 00:20:26 2001 +0000
+++ b/gnu/dist/toolchain/gdb/config/arm/nm-nbsd.h Thu Nov 15 00:58:29 2001 +0000
@@ -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 -r 7c1b9f4e9ef6 -r a68947c0ef3a gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h
--- a/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h Thu Nov 15 00:20:26 2001 +0000
+++ b/gnu/dist/toolchain/gdb/config/arm/tm-nbsd.h Thu Nov 15 00:58:29 2001 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index