gdbarch_skip_solib_resolver question

Pedro Alves
Wed Jan 11 17:13:00 GMT 2012

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

More information about the Gdb mailing list