DWARF2 verses DWARF3

Keith.Walker Keith.Walker@arm.com
Mon Aug 19 08:26:00 GMT 2002


Currently gcc has the command-line switch "-gdwarf-2" for generating DWARF2
debugging information.

However DWARF3 features are beginning to appear in the generated debugging
information.

I was just wonder about what the intention is with regard to supporting
DWARF2 and DWARF3.

Should these be considered to be 2 separate formats ..... thus requiring a
new command line option to allow generation of the new DWARF3 constructs.

Or is the intention to move towards the output being DWARF3 (and no means
of restricting it to being DWARF2).


Keith Walker		keith.walker@arm.com		Tel:+44 (1628) 427732



More information about the Gcc mailing list