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: Trying to get GDB to find PE symbol file via build-id


On Mon, Mar 16, 2015 at 11:41 AM, Jon TURNEY
<jon.turney@dronecode.org.uk> wrote:
> On 09/03/2015 16:44, Jon TURNEY wrote:
>> At the moment, fetching the build-id for gdb is only implemented for ELF
>> files (See gdb/build-ic.c:build_id_bfd_get())
>>
>> It should be pretty straightforward to extend that to handle PE files as
>> well, and add an interface to get the PE build-id out of BFD...
>
> Well, slightly less straightforward than I thought it would be, but I wrote a patch to do that...
>
> [1] https://sourceware.org/ml/gdb-patches/2015-03/msg00458.html

Your patch works for me.

Thanks,
--Benjamin Gilbert


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