This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbarch_skip_solib_resolver question


On 01/11/2012 05:05 PM, Michael Eager wrote:

> Unless I'm reading the code wrong, I don't think this can ever return
> non-zero.  This is called from handle_inferior_event (infrun.c:4754)
> when in_solib_dynsym_resolve_code() is true.  This means that the
> pc points to the start of a PLT stub.  

That's not the only time in_solib_dynsym_resolve_code returns true,
see svr4_in_dynsym_resolve_code.  It returns true as well when the
PC is within the interpreter / dynamic linker's text.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]