From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14967 invoked by alias); 27 Apr 2019 15:37:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14951 invoked by uid 89); 27 Apr 2019 15:37:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 27 Apr 2019 15:37:05 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKPNv-0005g4-7z; Sat, 27 Apr 2019 11:37:03 -0400 Received: from [176.228.60.248] (port=4105 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hKPNu-0003XD-Lx; Sat, 27 Apr 2019 11:37:03 -0400 Date: Sat, 27 Apr 2019 15:37:00 -0000 Message-Id: <83imuzv4rz.fsf@gnu.org> From: Eli Zaretskii To: tom@tromey.com, lrn1986@gmail.com CC: gdb-patches@sourceware.org In-reply-to: <83k1ffv5lz.fsf@gnu.org> (message from Eli Zaretskii on Sat, 27 Apr 2019 18:18:48 +0300) Subject: Re: Warning when using separate debug info file References: <83y348edoi.fsf@gnu.org> <20439f48-c0ff-e4b2-5cfc-6bb4b594d88c@gmail.com> <83h8aveape.fsf@gnu.org> <66d48dfd-23ac-7e05-3ad8-4e65b0c1c7f9@gmail.com> <834l6vdv4y.fsf@gnu.org> <87k1fjfbio.fsf@tromey.com> <83mukf19dl.fsf@gnu.org> <87y33yci4w.fsf@tromey.com> <838svyyvql.fsf@gnu.org> <87zhoeaxuu.fsf@tromey.com> <83wojixdl0.fsf@gnu.org> <87mukeat5a.fsf@tromey.com> <83k1ffv5lz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-04/txt/msg00601.txt.bz2 > Date: Sat, 27 Apr 2019 18:18:48 +0300 > From: Eli Zaretskii > CC: lrn1986@gmail.com, gdb-patches@sourceware.org > > So this: > > objcopy --set-section-flags .gnu_debuglink=contents,readonly hello.exe > > fixes the problem: I can now debug the program without the warning. > > I'm going to report this to the Binutils list. Reported as Binutils bug: https://sourceware.org/bugzilla/show_bug.cgi?id=24493