This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC debug options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]