[Bug default/27363] New: Emit more detailed diagnostic output for "Unknown DWARF"
d.filder at web dot de
sourceware-bugzilla@sourceware.org
Sun Feb 7 11:06:43 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=27363
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()==NULL) 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list