From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D92AD3857C78; Sun, 7 Feb 2021 11:06:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D92AD3857C78 From: "d.filder at web dot de" To: dwz@sourceware.org Subject: [Bug default/27363] New: Emit more detailed diagnostic output for "Unknown DWARF" Date: Sun, 07 Feb 2021 11:06:43 +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: enhancement X-Bugzilla-Who: d.filder at web dot de 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: Sun, 07 Feb 2021 11:06:44 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27363 Bug ID: 27363 Summary: Emit more detailed diagnostic output for "Unknown DWARF" Product: dwz Version: unspecified Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: default Assignee: nobody at sourceware dot org Reporter: d.filder at web dot de CC: dwz at sourceware dot org Target Milestone: --- The terseness of the current "Unknown DWARF" error messages makes it very difficult to analyze what is going on in cases of not yet parseable or standard-violating DWARF data. They should give more information, namely include: - a hexdump of the data around the offending entity, - whether the entity is invalid (get_DW_*_name()=3D=3DNULL) or merely not yet handled by the code, - current values of DW_AT_{name,producer,comp_dir,language,...}, - and instructions to include that output in the bug report and retain a copy of the unstripped binary for upload upon request. >From my cursory understanding the 3rd item might be easily implementable with global variables holding copies of the most recently seen values. Regards, Dennis. --=20 You are receiving this mail because: You are on the CC list for the bug.=