diff options
Diffstat (limited to 'gdb/sh-linux-tdep.c')
-rw-r--r-- | gdb/sh-linux-tdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c index b93b4f8..dc724d3 100644 --- a/gdb/sh-linux-tdep.c +++ b/gdb/sh-linux-tdep.c @@ -23,6 +23,8 @@ #include "solib-svr4.h" #include "symtab.h" +#include "glibc-tdep.h" + static void sh_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -30,6 +32,10 @@ sh_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); + set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver); + + set_gdbarch_fetch_tls_load_module_address (gdbarch, + svr4_fetch_objfile_link_map); } /* Provide a prototype to silence -Wmissing-prototypes. */ |