(dbgr-cmd-remap arg "step" "step %p" "s")
)
+(defun dbgr-cmd-terminate (&optional arg)
+ "Gently terminate source and command buffers without possibly
+issuing a command to the underlying debuger. Use this if the
+underlying debugger has died or you want to get out of all
+shortkey modes in the source window and possibly restart
+debugging after editing source."
+ (interactive "p")
+ (dbgr-terminate (current-buffer))
+)
+
(defun dbgr-cmd-quit (&optional arg)
"Gently terminate execution of the debugged program."
(interactive "p")
(define-key map "u" 'dbgr-cmd-older-frame)
(define-key map "C" 'dbgr-window-cmd-undisturb-src)
(define-key map "F" 'dbgr-window-bt)
+ (define-key map "Q" 'dbgr-cmd-terminate)
(define-key map "S" 'dbgr-window-src-undisturb-cmd)
(define-key map [M-down] 'dbgr-track-hist-newer)