[Libreoffice] Even more debugging info

Tom Tromey tromey at redhat.com
Thu Dec 1 07:02:23 PST 2011


>>>>> "Lionel" == Lionel Elie Mamane <lionel at mamane.lu> writes:

Tom> In a recent-enough GCC (I don't know if it made 4.6, but anyway I
Tom> think it is in Fedora 16), there is a GNU extension to how macro
Tom> information is represented.  This extension greatly reduces the size
Tom> of the macro information.

Lionel> And this GNU extension is enabled with "-ggdb3"? With "-gdwarf-4"? How
Lionel> do I see whether it is used?

If you use -g3 and do not use -gstrict-dwarf, then the new macro style
is used.

You can check for the new style using:

    readelf -WS ./some-file | grep debug_macro

The old section name is called .debug_macinfo.

Tom


More information about the LibreOffice mailing list