PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.

Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
This commit is contained in:
christos 2006-04-03 17:09:58 +00:00
parent 791851b497
commit 6bd51d8bb0

View File

@ -21,7 +21,9 @@
#include "defs.h"
#include "gdbtypes.h"
#include "inferior.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "regcache.h"
#include "arch-utils.h"
@ -276,8 +278,7 @@ i386nbsdelf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
i386_elf_init_abi (info, gdbarch);
/* NetBSD ELF uses SVR4-style shared libraries. */
set_gdbarch_in_solib_call_trampoline (gdbarch,
generic_in_solib_call_trampoline);
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
set_solib_svr4_fetch_link_map_offsets (gdbarch,
nbsd_ilp32_solib_svr4_fetch_link_map_offsets);