This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Trying to get GDB to find PE symbol file via build-id
- From: asmwarrior <asmwarrior at gmail dot com>
- To: Benjamin Gilbert <bgilbert at backtick dot net>
- Cc: gdb at sourceware dot org
- Date: Thu, 19 Mar 2015 15:00:06 +0800
- Subject: Re: Trying to get GDB to find PE symbol file via build-id
- Authentication-results: sourceware.org; auth=none
- References: <CAFKqAcT3qbRGNrczTyPpVW7vrm2GhVUbWVuhupn1YYwEQCOomA at mail dot gmail dot com> <54FDCDF0 dot 6080602 at dronecode dot org dot uk> <5506F9B1 dot 9050008 at dronecode dot org dot uk> <CAFKqAcR0xxj6Rj_tOU7bDuLQcZTCboQ+Ohv6WyERs7MYwkUfPA at mail dot gmail dot com> <550A6ED0 dot 2030000 at gmail dot com>
On 2015-3-19 14:38, asmwarrior wrote:
> Do you know there are any native compiler suite under Windows which support "build-id" option?
> I just tried recent native MinGW and MinGW-W64 compiler suite, the ld.exe in those suites doesn't supoort this option.
I see your post:
> I'm trying to build a Win32 DLL with separate debug symbols, but I
> can't seem to get GDB to automatically load a symbol file using the PE
> build-id support added in ld 2.25. I'm running on Fedora 21 x86_64,
> with a gdb built from binutils-gdb HEAD (3e95021) and configured with
> "--target=i686-w64-mingw32".
The feature is added in ld 2.25, I see mingw-w64 and mingw now only ship 2.24 version.
Sorry about the noise.
Yuanhui Zhang