summaryrefslogtreecommitdiff
path: root/gdb/xstormy16-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 20:36:35 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 20:36:35 +0000
commit19d718a3ac83b076a53698e1956685c5beee15ba (patch)
treede8be82461990e2868503b40c0d9fe52cafadc01 /gdb/xstormy16-tdep.c
parente8ce19c0cdf50f1e6caf4f1fe3ceffc765e80439 (diff)
downloadbinutils-gdb-19d718a3ac83b076a53698e1956685c5beee15ba.tar.gz
2004-10-31 Andrew Cagney <cagney@gnu.org>
* 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.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r--gdb/xstormy16-tdep.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c
index 086566fd5a2..3cd64d7be54 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);