This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: compiler switch
- To: "eCos" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: Re:[ECOS] compiler switch
- From: "Claes Stejre" <claes dot stejre at mecel dot se>
- Date: Tue, 14 Nov 2000 18:55:50 +0100
You will find it at "GNUPro Compiler Tools"
http://www.redhat.com/support/manuals/gnupro.html
Here is a outprint from the manual.
/Claes
"-g level
-ggdb level
-gstabs level
-gcoff level
-gxcoff level
-gdwarf level
-gdwarf-2 level
Request debugging information and also use level to specify how much
information. The default level is 2.
Level 1 produces minimal information, enough for making backtraces in parts
of
the program that you don't plan to debug. This includes descriptions of
functions
and external variables, but no information about local variables and no line
numbers. Level 3 includes extra information, such as all the macro
definitions
present in the program. Some debuggers support macro expansion when you use
the '-g3' option."