aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386bsd-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/i386bsd-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/i386bsd-tdep.c')
-rw-r--r--gdb/i386bsd-tdep.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/i386bsd-tdep.c b/gdb/i386bsd-tdep.c
index 4b4bffb..c82e310 100644
--- a/gdb/i386bsd-tdep.c
+++ b/gdb/i386bsd-tdep.c
@@ -50,14 +50,6 @@ i386bsd_sigcontext_addr (struct frame_info *next_frame)
/* Support for shared libraries. */
-/* Return non-zero if we are in a shared library trampoline code stub. */
-
-int
-i386bsd_aout_in_solib_call_trampoline (CORE_ADDR pc, char *name)
-{
- return (name && !strcmp (name, "_DYNAMIC"));
-}
-
/* Traditional BSD (4.3 BSD, still used for BSDI and 386BSD). */
/* From <machine/signal.h>. */
@@ -86,10 +78,6 @@ i386bsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- /* Assume SunOS-style shared libraries. */
- set_gdbarch_in_solib_call_trampoline (gdbarch,
- i386bsd_aout_in_solib_call_trampoline);
-
tdep->jb_pc_offset = 0;
tdep->sigtramp_start = 0xfdbfdfc0;