1 The purpose of a debugger such as GDB is to allow you to see what
2 is going on "inside" another program while it executes--or what
3 another program was doing at the moment it crashed.
5 GDB can do four main kinds of things (plus other things in support
6 of these) to help you catch bugs in the act:
8 * Start your program, specifying anything that might affect its
11 * Make your program stop on specified conditions.
13 * Examine what has happened, when your program has stopped.
15 * Change things in your program, so you can experiment with
16 correcting the effects of one bug and go on to learn about