aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68kbsd-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-31 20:24:32 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-31 20:24:32 +0000
commite8ce19c0cdf50f1e6caf4f1fe3ceffc765e80439 (patch)
treeecf6fa5fe60fedd4d211b45e0996a133f655fa10 /gdb/m68kbsd-tdep.c
parentaf380d6174d81b323d02d6b0acf02828d360b816 (diff)
downloadgdb-e8ce19c0cdf50f1e6caf4f1fe3ceffc765e80439.zip
gdb-e8ce19c0cdf50f1e6caf4f1fe3ceffc765e80439.tar.gz
gdb-e8ce19c0cdf50f1e6caf4f1fe3ceffc765e80439.tar.bz2
2004-10-31 Andrew Cagney <cagney@gnu.org>
* armnbsd-tdep.c (arm_netbsd_aout_init_abi) (arm_netbsd_aout_in_solib_call_trampoline): Do not set in_solib_call_trampoline, delete corresponding unused function. * vaxnbsd-tdep.c (vaxnbsd_aout_in_solib_call_trampoline) (vaxnbsd_aout_init_abi): Ditto. * sparcnbsd-tdep.c (sparcnbsd_aout_in_solib_call_trampoline) (sparc32nbsd_aout_init_abi): Ditto. * ppc-linux-tdep.c (ppc64_in_solib_call_trampoline) (ppc_linux_init_abi): Ditto. * ns32knbsd-tdep.c (ns32knbsd_aout_in_solib_call_trampoline) (ns32knbsd_init_abi_aout): Ditto. * mips-tdep.c (mips_in_call_stub, mips_gdbarch_init): Ditto. * mips-linux-tdep.c (mips_linux_init_abi): Ditto. * m68kbsd-tdep.c (m68kbsd_aout_in_solib_call_trampoline) (m68kbsd_aout_init_abi): Ditto. * i386-cygwin-tdep.c (i386_cygwin_in_solib_call_trampoline) (i386_cygwin_init_abi): Ditto. * i386bsd-tdep.c (i386bsd_aout_in_solib_call_trampoline) (i386bsd_init_abi): Ditto.
Diffstat (limited to 'gdb/m68kbsd-tdep.c')
-rw-r--r--gdb/m68kbsd-tdep.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/m68kbsd-tdep.c b/gdb/m68kbsd-tdep.c
index c3bc0a4..4ae4d42 100644
--- a/gdb/m68kbsd-tdep.c
+++ b/gdb/m68kbsd-tdep.c
@@ -126,18 +126,6 @@ m68kbsd_regset_from_core_section (struct gdbarch *gdbarch,
return NULL;
}
-
-
-/* Support for shared libraries. */
-
-/* Return non-zero if we are in a shared library trampoline code stub. */
-
-int
-m68kbsd_aout_in_solib_call_trampoline (CORE_ADDR pc, char *name)
-{
- return (name && !strcmp (name, "_DYNAMIC"));
-}
-
static void
m68kbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
@@ -161,10 +149,6 @@ m68kbsd_aout_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
m68kbsd_init_abi (info, gdbarch);
tdep->struct_return = reg_struct_return;
-
- /* Assume SunOS-style shared libraries. */
- set_gdbarch_in_solib_call_trampoline
- (gdbarch, m68kbsd_aout_in_solib_call_trampoline);
}
/* NetBSD ELF. */