diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-06-30 14:43:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-06-30 14:43:24 +0000 |
commit | 9c5045b55215d45e352d593993892da54df718f8 (patch) | |
tree | 5b5a72104405129ad51122f8531fc4cfe96df4f5 /gdb/config/i386 | |
parent | 99c847f2174738e4155fbd06598051dde97d70b4 (diff) | |
download | gdb-9c5045b55215d45e352d593993892da54df718f8.zip gdb-9c5045b55215d45e352d593993892da54df718f8.tar.gz gdb-9c5045b55215d45e352d593993892da54df718f8.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r-- | gdb/config/i386/tm-fbsd.h | 11 | ||||
-rw-r--r-- | gdb/config/i386/tm-nbsdaout.h | 4 |
2 files changed, 0 insertions, 15 deletions
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 */ |