Next: Commands, Previous: Sample Session, Up: Top [Contents][Index]

## 2 Getting In and Out of GDB

This chapter discusses how to start GDB, and how to get out of it. The essentials are:

- type ‘`gdb`’ to start GDB.
- type `quit` or `Ctrl-d` to exit.

• Invoking GDB: |  | How to start GDB
• Quitting GDB: |  | How to quit GDB
• Shell Commands: |  | How to use shell commands inside GDB
• Logging Output: |  | How to log GDB’s output to a file