GNU Info

Info Node: (gdb.info)Quitting GDB

(gdb.info)Quitting GDB


Next: Shell Commands Prev: Invoking GDB Up: Invocation
Enter node , (file) or (file)node

Quitting GDB
============

`quit [EXPRESSION]'
`q'
     To exit GDB, use the `quit' command (abbreviated `q'), or type an
     end-of-file character (usually `C-d').  If you do not supply
     EXPRESSION, GDB will terminate normally; otherwise it will
     terminate using the result of EXPRESSION as the error code.

   An interrupt (often `C-c') does not exit from GDB, but rather
terminates the action of any GDB command that is in progress and
returns to GDB command level.  It is safe to type the interrupt
character at any time because GDB does not allow it to take effect
until a time when it is safe.

   If you have been using GDB to control an attached process or device,
you can release it with the `detach' command (Note: Debugging an
already-running process.).


automatically generated by info2www version 1.2.2.9