From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 06DA3394D82A; Tue, 29 Sep 2020 03:24:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06DA3394D82A From: "annulen at yandex dot ru" To: dwz@sourceware.org Subject: [Bug default/26674] New: dwz should be able to fix CRCs in .gnu_debuglink when optimizing separated debug files Date: Tue, 29 Sep 2020 03:24:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: annulen at yandex dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 03:24:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26674 Bug ID: 26674 Summary: dwz should be able to fix CRCs in .gnu_debuglink when optimizing separated debug files Product: dwz Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: annulen at yandex dot ru CC: dwz at sourceware dot org Target Milestone: --- Right now optimizing standalone debug files which were extracted from main = ELF files via objcopy prevents their use in gdb because .gnu_debuglink of main = ELF file has CRC which was not updated. It would be great if dwz could fix CRC itself (path of main ELF file can be given through additional command line argument), or at least provided separate tool for doing such fix (I'm aware= of sepdebugcrcfix but it's a part of rpm and isn't really user-friendly) --=20 You are receiving this mail because: You are on the CC list for the bug.=