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 | 53b29ccd7e66c0adc917dec0be94ce1aca7d5b22 (patch) | |
tree | 2d9000afcd8870afa007d8aa36146764664b5975 /gdb/i386-tdep.c | |
parent | 49c46170906a030ab5a5f03c0c26432d28e40fe9 (diff) | |
download | gdb-53b29ccd7e66c0adc917dec0be94ce1aca7d5b22.tar.gz |
* 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 42301367e50..233049dd7e5 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); |