Function: gdb-frames-mode

gdb-frames-mode is an interactive and byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-frames-mode)

Documentation

Major mode for gdb call stack.

In addition to any hooks its parent mode gdb-parent-mode might have run, this mode runs the hook gdb-frames-mode-hook, as the final or penultimate step during initialization.

- negative-argument
0 digit-argument
1 digit-argument
2 digit-argument
3 digit-argument
4 digit-argument
5 digit-argument
6 digit-argument
7 digit-argument
8 digit-argument
9 digit-argument
<follow-link> mouse-face
<mouse-2> gdb-select-frame
RET gdb-select-frame
SPC..~ undefined
q kill-current-buffer

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(define-derived-mode gdb-frames-mode gdb-parent-mode "Frames"
  "Major mode for gdb call stack."
  (setq gdb-stack-position (make-marker))
  (add-to-list 'overlay-arrow-variable-list 'gdb-stack-position)
  (setq truncate-lines t)  ;; Make it easier to see overlay arrow.
  (setq-local font-lock-defaults '(gdb-frames-font-lock-keywords))
  'gdb-invalidate-frames)