Reputation: 219
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 !
Upvotes: 6
Views: 8989
Reputation: 536
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.Upvotes: 4