Re: GCC debug options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux