From 19d718a3ac83b076a53698e1956685c5beee15ba Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 31 Oct 2004 20:36:35 +0000 Subject: 2004-10-31 Andrew Cagney * xstormy16-tdep.c (xstormy16_in_solib_call_trampoline) (xstormy16_gdbarch_init): Do not set in_solib_call_trampoline, delete corresponding unused function. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set in_solib_call_trampoline. * config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. * config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. * config/mips/tm-nbsd.h: Ditto. * config/arm/tm-linux.h: Ditto. * config/mips/tm-linux.h: Ditto. --- gdb/xstormy16-tdep.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gdb/xstormy16-tdep.c') diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 086566f..3cd64d7 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -577,12 +577,6 @@ xstormy16_skip_trampoline_code (CORE_ADDR pc) return 0; } -static int -xstormy16_in_solib_call_trampoline (CORE_ADDR pc, char *name) -{ - return xstormy16_skip_trampoline_code (pc) != 0; -} - /* Function pointers are 16 bit. The address space is 24 bit, using 32 bit addresses. Pointers to functions on the XStormy16 are implemented by using 16 bit pointers, which are either direct pointers in case the @@ -849,8 +843,6 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_return_value (gdbarch, xstormy16_return_value); set_gdbarch_skip_trampoline_code (gdbarch, xstormy16_skip_trampoline_code); - set_gdbarch_in_solib_call_trampoline (gdbarch, - xstormy16_in_solib_call_trampoline); set_gdbarch_print_insn (gdbarch, print_insn_xstormy16); -- cgit v1.1