Variable: gud-speedbar-menu-items
gud-speedbar-menu-items is a variable defined in gud.el.gz.
Value
(["Jump to stack frame" speedbar-edit-line :visible
(not
(eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdbmi))]
["Edit value" speedbar-edit-line :visible
(eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdbmi)]
["Delete expression" gdb-var-delete :visible
(eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdbmi)]
["Auto raise frame" gdb-speedbar-auto-raise :style toggle :selected
gdb-speedbar-auto-raise :visible
(eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdbmi)]
("Output Format" :visible
(eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdbmi)
["Binary" (gdb-var-set-format "binary") t]
["Natural" (gdb-var-set-format "natural") t]
["Hexadecimal" (gdb-var-set-format "hexadecimal") t]))
Documentation
Additional menu items to add to the speedbar frame.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defvar gud-speedbar-menu-items
'(["Jump to stack frame" speedbar-edit-line
:visible (not (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'gdbmi))]
["Edit value" speedbar-edit-line
:visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'gdbmi)]
["Delete expression" gdb-var-delete
:visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'gdbmi)]
["Auto raise frame" gdb-speedbar-auto-raise
:style toggle :selected gdb-speedbar-auto-raise
:visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'gdbmi)]
("Output Format"
:visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'gdbmi)
["Binary" (gdb-var-set-format "binary") t]
["Natural" (gdb-var-set-format "natural") t]
["Hexadecimal" (gdb-var-set-format "hexadecimal") t]))
"Additional menu items to add to the speedbar frame.")