DWARF 2 or 4?

Christopher Meng cickumqt at gmail.com
Sun Jun 22 13:55:05 UTC 2014


Hi,

One of my package generates debuginfo by specifying -gdwarf-2 option
in CFLAGS. As gcc 4.8 onwards DWARF4 is the default, is it still
acceptable to use this option for Fedora now? Since DWARF4 provides
many features demonstrated at [1], Should I remove that option?

Thanks.

[1]---http://www.dwarfstd.org/Dwarf4Std.php

Yours sincerely,
Christopher Meng

Noob here.

http://cicku.me


More information about the devel mailing list