GDB Tutorial | Debugging with GNU GDB Debugger
Only a developer can understand the importance of a debugger. When you are working on a program and things don’t perform as expected, the debugger can help one locate the source of the problem. Tools like JTAG, GDB or network debugging tools like Wireshark can become one’s best friend.
I have used JTAG and Wireshark extensively, but, hadn’t use GDB till date. So, i was searching for some tutorials on GDB and i found an absolutely brilliant tutorial on it. Though the below tutorial teaches you how to use GDB, the best part of the article had to be “Debugging with your brain”.
Go read it as soon as you can.
Thanks to Peter Jay Salzman for this tutorial.