From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A4953870889; Mon, 8 Feb 2021 14:30:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A4953870889 From: "mark at klomp dot org" To: dwz@sourceware.org Subject: [Bug default/27372] [dwz] DWARF CU type DW_UT_type unhandled -- Could not find DWARF abbreviation Date: Mon, 08 Feb 2021 14:30:08 +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: mark at klomp dot 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: cc 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-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: Mon, 08 Feb 2021 14:30:08 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27372 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard --- (In reply to Tom de Vries from comment #1) > Looks like a missing goto fail: > ... > diff --git a/dwz.c b/dwz.c > index 10860bf..c0d0003 100644 > --- a/dwz.c > +++ b/dwz.c > @@ -6584,9 +6584,11 @@ read_debug_info (DSO *dso, int kind, unsigned int > *die_count) > { > value =3D read_8 (ptr); > if (value !=3D DW_UT_compile && value !=3D DW_UT_partial) > - error (0, 0, "%s: DWARF CU type %s unhandled", dso->filename, > - get_DW_UT_str (value)); > - > + { > + error (0, 0, "%s: DWARF CU type %s unhandled", dso->filenam= e, > + get_DW_UT_str (value)); > + goto fail; > + } > } > else > { > ... > after which we have: > ... > $ ./dwz a.out > ./dwz: a.out: DWARF CU type DW_UT_type unhandled > ... Yes, please apply. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.=