Ending a Debugging Session

DBX Mode

To exit the debugger, use the quit command:

quit_command

: quit

Alternatively, you can type q or exit, which are pre-defined aliases for quit.

GDB Mode

To exit the debugger, use quit or the q command.

Optionally, you can specify debugger exit status. Example:

quit_command

: quit [ exit_status  ]

| q [ exit_status  ]

 

exit_status

: expression