gdbarch_skip_solib_resolver question

Michael Eager
Wed Jan 11 17:38:00 GMT 2012

On 01/11/2012 09:13 AM, Pedro Alves wrote:
> 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.

Yes, I just noticed this.

Michael Eager
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

More information about the Gdb mailing list