Bug 707677 - debugedit doesn't support DWARF 4
Summary: debugedit doesn't support DWARF 4
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-25 17:12 UTC by Jakub Jelinek
Modified: 2011-05-26 07:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-26 07:24:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
debugedit-dwarf4.patch (3.69 KB, patch)
2011-05-25 17:12 UTC, Jakub Jelinek
no flags Details | Diff

Description Jakub Jelinek 2011-05-25 17:12:09 UTC
Created attachment 500877 [details]
debugedit-dwarf4.patch

We'd like to turn on -gdwarf-4 by default for f16 in the next few days (currently gcc defaults to -gdwarf-3), unfortunately debugedit doesn't handle DWARF 4 yet.

I'm attaching a patch which backports relevant DWARF 4 changes from prelink/src/dwarf2.c (which is the base of debugedit), tested on a few short proglets compiled with -gdwarf-4 on F15.

Additionally the patch shuts up a -Wunused-but-set-variable warning in debugedit.c.

Could this be included in rawhide rpm ASAP, so that we can enable it?  Other tools (gdb, systemtap, valgrind, prelink) already support DWARF4.

Comment 1 Panu Matilainen 2011-05-26 07:24:42 UTC
In rawhide now as of rpm-4.9.0-8.fc16 (will upstream once we see nothing blows up)


Note You need to log in before you can comment on or make changes to this bug.