From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112523 invoked by alias); 19 Mar 2015 06:53:07 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 112513 invoked by uid 89); 19 Mar 2015 06:53:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pa0-f42.google.com Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 19 Mar 2015 06:53:05 +0000 Received: by pabyw6 with SMTP id yw6so66742247pab.2 for ; Wed, 18 Mar 2015 23:53:04 -0700 (PDT) X-Received: by 10.70.53.170 with SMTP id c10mr102215241pdp.148.1426747984173; Wed, 18 Mar 2015 23:53:04 -0700 (PDT) Received: from [192.168.1.104] ([115.199.126.10]) by mx.google.com with ESMTPSA id z10sm1096274pas.18.2015.03.18.23.53.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Mar 2015 23:53:03 -0700 (PDT) Message-ID: <550A73F6.1070800@gmail.com> Date: Thu, 19 Mar 2015 06:53:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Benjamin Gilbert CC: gdb@sourceware.org Subject: Re: Trying to get GDB to find PE symbol file via build-id References: <54FDCDF0.6080602@dronecode.org.uk> <5506F9B1.9050008@dronecode.org.uk> <550A6ED0.2030000@gmail.com> In-Reply-To: <550A6ED0.2030000@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-03/txt/msg00065.txt.bz2 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