I was a Visual Studio programmer. Now I am coding C++ in Linux. I found I have to learn gdb and learn to understand "core dump" Would somebody suggest books? Thanks!
I was a Visual Studio programmer. Now I am coding C++ in Linux. I found I have to learn gdb and learn to understand "core dump" Would somebody suggest books? Thanks!
$ info gdb
$ man gdb
http://www.cs.cmu.edu/~gilpin/tutorial/
If you want to debug a "core" file, use:
$ gdb program core
There are probably lots of other gdb tutorials and documentation online, if you just can be bothered with googling.
Searching Amazon for a minute yields this:
http://www.amazon.com/Debugging-GDB-..._bxgy_b_text_b
I have no idea if it's a good book or not. Generally O'Reilly's books aren't completely useless, but some are not quite as good as others.
--
Mats