[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: gdbarch_skip_solib_resolver question
From: Michael Eager <eager () eagerm ! com>
Date: 2012-01-11 17:38:19
Message-ID: 4F0DC90B.6010408 () eagerm ! com
[Download RAW message or body]
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 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic