* arm-linux-tdep.c (arm_linux_init_abi): Register

IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
* config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
definition with undef, since we don't want the sysvr4 definition.
(SKIP_TRAMPOLINE_CODE): Likewise.
This commit is contained in:
Richard Earnshaw 2002-02-23 22:17:12 +00:00
parent 27aac7ff48
commit 0e18d038da
3 changed files with 17 additions and 13 deletions

View file

@ -30,7 +30,7 @@
#include "arm-tdep.h"
/* For arm_linux_skip_solib_resolver. */
/* For shared library handling. */
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
@ -534,6 +534,10 @@ arm_linux_init_abi (struct gdbarch_info info,
/* The following two overrides shouldn't be needed. */
set_gdbarch_extract_return_value (gdbarch, arm_linux_extract_return_value);
set_gdbarch_push_arguments (gdbarch, arm_linux_push_arguments);
/* Shared library handling. */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
}
void