Next: , Previous: , Up: Debugger Command Reference   [Contents][Index]


4.3 Gentle termination of the GNU Make debugger (‘quit’)

quit [return-code]
q [return-code]

To exit GNU Remake, use the quit command (abbreviated q), or type an end-of-file character (usually C-d). If you do not supply return-code, GNU Remake will terminate normally or with exit code 0. Otherwise it use the value of the return-code as the exit code. Usually a 0 exit is a normal exit.

Often when running GNU Make or GNU Remake, a recursive call is made or made in another directory. The quit only terminates only the last one: the one that the debugger is in. The GNU Remake debugger arranges for the debug flags to get passed down in recursive calls. Consequently when you quit one of the inner make calls, you may find yourself still in the debugger but up a call level.