From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93422 invoked by alias); 11 Jul 2019 10:13:34 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 93373 invoked by uid 48); 11 Jul 2019 10:13:31 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24766] [Regression] Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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-SW-Source: 2019-q3/txt/msg00071.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24766 --- Comment #10 from Tom de Vries --- (In reply to Matthias Klose from comment #9) > that's the Debian issue connected with this issue: >=20 > https://bugs.debian.org/931792 >=20 > for the error codes: compressed debug info maybe should have an error code > which shows that it can be ignored? same for code not built with -g? So, AFAIU, you mean something along the lines of: ... $ dwz 1; echo $? 0 $ dwz 1; echo $? dwz: 1: DWARF compression not beneficial 2 $ dwz 2; echo $? dwz: 2: .debug_info section not present 3 $ dwz 3; echo $? dwz: 3: invalid dwarf: no DIE at reference 0x123 4 ... That is, we let the exit status be informative about what type of situation= s we find, and let the caller decide how to handle these. We could do something like that, but that looks like an enhancement for a n= ext release to me, not a regression fix. I'll file this as spin-off PR. For now, let's fix this regression more pragmatically. --=20 You are receiving this mail because: You are on the CC list for the bug.