Variable: gud-dbx-repeat-map
gud-dbx-repeat-map is a variable defined in gud.el.gz.
Value
< gud-up
> gud-down
c gud-cont
i gud-stepi
l gud-refresh
n gud-next
s gud-step
Documentation
Keymap to repeat dbx stepping instructions \C-x C-a C-n n n.
Used in repeat-mode(var)/repeat-mode(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
;; [Irix dbx seemed to be a moving target. The dbx output changed
;; subtly sometime between OS v4.0.5 and v5.2 so that, for instance,
;; the output from `up' is no longer spotted by gud (and it's probably
;; not distinctive enough to try to match it -- use C-<, C->
;; exclusively) . For 5.3 and 6.0, the $curline variable changed to
;; `long long'(why?!), so the printf stuff needed changing. The line
;; number was cast to `long' as a compromise between the new `long
;; long' and the original `int'. This was reported not to work in 6.2,
;; so it's changed back to int -- don't make your sources too long.
;; From Irix6.1 (but not 6.0?) dbx supported an undocumented feature
;; whereby `set $stopformat=1' reportedly produces output compatible
;; with `gud-dbx-marker-filter', which we prefer.
(defvar gud-dbx-repeat-map
(let ((map (make-sparse-keymap)))
(pcase-dolist (`(,key . ,cmd) '(("n" . gud-next)
("s" . gud-step)
("i" . gud-stepi)
("c" . gud-cont)
("l" . gud-refresh)
("<" . gud-up)
(">" . gud-down)))
(define-key map key cmd))
(when (or gud-mips-p
gud-irix-p)
(define-key map "f" 'gud-finish))
map)
"Keymap to repeat `dbx' stepping instructions \\`C-x C-a C-n n n'.
Used in `repeat-mode'.")