Summary: | backtraces guide redundant flag recommendations | ||
---|---|---|---|
Product: | [OLD] Docs on www.gentoo.org | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | Other documents | Assignee: | Gentoo Quality Assurance Team <qa> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/backtraces.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | backtraces.xml.diff |
Description
Ryan Hill (RETIRED)
![]() Created attachment 119140 [details, diff]
backtraces.xml.diff
Thanks, but we (GDP) generally don't touch other project's docs -> reassigning to QA. where do you see the statement that "-g2" is equivalent to "-g" -glevel -ggdblevel -gstabslevel -gcofflevel -gxcofflevel -gvmslevel Request debugging information and also use level to specify how much information. The default level is 2. Level 0 produces no debug information at all. Thus, -g0 negates -g. 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 -g3. http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options my look through the source code didnt turn up such visibility which is why i was asking ... thanks, merged |