[Bug debugedit/27636] New: Debugedit doesn't handle compressed debug ELF sections

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Mar 23 14:19:55 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27636

            Bug ID: 27636
           Summary: Debugedit doesn't handle compressed debug ELF sections
           Product: debugedit
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debugedit
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: debugedit at sourceware dot org
  Target Milestone: ---

When seeing compressed debug ELF sections debugedit gets confused:

debugedit: ./foo.o: DWARF version 0 unhandled

This is a somewhat useless error message.

We should at least detect SHF_COMPRESSED (or .zdebug...) and explicitly say we
don't handle compressed sections.

If we do decide to handle compressed sections there are a couple of ways:
- Do we simply always uncompress and leave it that way?
- Do we recompress afterwards?
- Do we require an explicit flag to (de/re)compress?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list