Concrete difference between -g and -ggdb

Martin Olsson mnemo@minimum.se
Tue May 1 15:13:00 GMT 2012


gcc docs say that -g gives "system's native format" and -ggdb gives 
dbg info "for use by GDB":
http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html

...what does this mean in more concrete terms? What command or 
functionality in gdb, that I normally cannot use, am I able to use 
after building with -ggdb ?




		Martin



More information about the Gcc-help mailing list