I am badly confused with files generated during compilation and used for debugging.
I know there two ways to store debugging info when compiling a code. One is to store the info in a separate file other than the executable (or object file) normally with a .sym extention)
1- I do not know what is the other method. (and which one is more common to use)
2- what is a symbol file in the first place? (a little more detailed than it keeps debugging info)
3- if we are given a huge source code with its makefiles, how can we figure out which method is used when we do "make install"
I have seen this thread but I got even more confused !
break main
to break on function main. Also it's useful when you've got a segfault, you just type in bt
and it gives the backtrace with full function names. -g
or -gN
flag.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.