Next: Commands, Previous: Sample Session, Up: Top

## 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