diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-08-23 19:26:15 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-08-23 19:26:15 +0000 |
commit | dfe01d390c53804bd69fb46ff90894a6fdea2948 (patch) | |
tree | f6b513aad5963ebfd219e6b8c8ef1a0befeab464 /gdb/i386-tdep.c | |
parent | 8acc2935383b05b6ae4626dac433883c21381cfb (diff) | |
download | gdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.zip gdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.tar.gz gdb-dfe01d390c53804bd69fb46ff90894a6fdea2948.tar.bz2 |
* i386-tdep.c: Include "objfiles.h".
(i386_svr4_init_abi): Set in_solib_call_trampoline and
skip_trampoline_code.
* config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h".
(CPLUS_MARKER): Define to '.'.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 4230136..233049d 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -25,6 +25,7 @@ #include "frame.h" #include "inferior.h" #include "gdbcore.h" +#include "objfiles.h" #include "target.h" #include "floatformat.h" #include "symfile.h" @@ -1370,6 +1371,10 @@ i386_svr4_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* System V Release 4 uses ELF. */ i386_elf_init_abi (info, gdbarch); + /* System V Release 4 has shared libraries. */ + set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section); + set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); + /* FIXME: kettenis/20020511: Why do we override this function here? */ set_gdbarch_frame_chain_valid (gdbarch, generic_func_frame_chain_valid); |