This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: compiler switch


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."


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