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.
This commit is contained in:
tv 2001-11-15 00:58:29 +00:00
parent 0911b89ff5
commit b24bb409e3
4 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -1,3 +1,3 @@
# Target: ARM running NetBSD
TDEPFILES= arm-tdep.o solib.o
TDEPFILES= arm-tdep.o
TM_FILE= tm-nbsd.h

View File

@ -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

View File

@ -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