From 9c5045b55215d45e352d593993892da54df718f8 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 30 Jun 2002 14:43:24 +0000 Subject: * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] (IN_SOLIB_CALL_TRAMPOLINE): Remove define. * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove define. * i386bsd-tdep.c: Include "arch-utils.h". (i386bsd_aout_in_solib_call_trampoline): New function. (i386bsd_init_abi): Set in_solib_call_trampoline to i386bsd_aout_in_solib_call_trampoline. (i386nbsdelf_init_abi, i386fbsd_init_abi): Set in_solib_call_trampoline to generic_in_solib_call_trampoline. --- gdb/config/i386/tm-fbsd.h | 11 ----------- gdb/config/i386/tm-nbsdaout.h | 4 ---- 2 files changed, 15 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/i386/tm-fbsd.h b/gdb/config/i386/tm-fbsd.h index 7d90c2e..1975a9b 100644 --- a/gdb/config/i386/tm-fbsd.h +++ b/gdb/config/i386/tm-fbsd.h @@ -39,15 +39,4 @@ extern CORE_ADDR i386bsd_sigtramp_start (CORE_ADDR pc); extern CORE_ADDR i386bsd_sigtramp_end (CORE_ADDR pc); -/* Shared library support. */ - -#ifndef SVR4_SHARED_LIBS - -/* Return non-zero if we are in a shared library trampoline code stub. */ - -#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \ - (name && !strcmp(name, "_DYNAMIC")) - -#endif /* !SVR4_SHARED_LIBS */ - #endif /* TM_FBSD_H */ diff --git a/gdb/config/i386/tm-nbsdaout.h b/gdb/config/i386/tm-nbsdaout.h index 8dde114..25325e1 100644 --- a/gdb/config/i386/tm-nbsdaout.h +++ b/gdb/config/i386/tm-nbsdaout.h @@ -23,8 +23,4 @@ #include "i386/tm-nbsd.h" -/* Return non-zero if we are in a shared library trampoline code stub. */ -#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \ - (name && !strcmp(name, "_DYNAMIC")) - #endif /* TM_NBSDAOUT_H */ -- cgit v1.1