GCC debug options
Nathan Sidwell
nathan@codesourcery.com
Mon Nov 22 16:44:00 GMT 2004
Wei ZHANG wrote:
> Hi,
>
> We used to have a debug option -gdwarf+ when we were using gcc 2.95.
> However when we changed to higher version of gcc, we got these errors:
>
> In gcc (GCC) 3.2, we got the warning:
> cc1: warning: 'dwarf+': unknown or unsupported -g option
>
> In gcc version 3.4.2, we got the error:
> cc1: error: unrecognised debug output level "dwarf+"
>
> After I checked the latest gcc manual, I found that this option has been
> removed from gcc.
You could try the -ggdb or -gdwarf-2 options.
One shudders to think why you have a single source file with 1,000,000
lines in it, even if machine generated, ...
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc-help
mailing list