Created attachment 500877 [details]
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.
In rawhide now as of rpm-4.9.0-8.fc16 (will upstream once we see nothing blows up)