Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. -glevel
  2.  
  3. -glevel
  4. -ggdblevel
  5. -gstabslevel
  6. -gcofflevel
  7. -gxcofflevel
  8. -gvmslevel
  9. Request debugging information and also use level to specify how much information. The default level is 2.
  10. Level 0 produces no debug information at all. Thus, -g0 negates -g.
  11.  
  12. 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, and line number tables, but no information about local variables.
  13.  
  14. Level 3 includes extra information, such as all the macro definitions present in the program. Some debuggers support macro expansion when you use -g3.
  15.  
  16. -gdwarf does not accept a concatenated debug level, to avoid confusion with -gdwarf-level. Instead use an additional -glevel option to change the debug level for DWARF.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement