Variable: gud-gdb-completion-function
gud-gdb-completion-function is a variable defined in gud.el.gz.
Value
nil
Documentation
Completion function for GDB commands.
It receives two arguments: COMMAND, the prefix for which we seek completion; and CONTEXT, the text before COMMAND on the line. It should return a list of completion strings.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
;; One of the nice features of GDB is its impressive support for
;; context-sensitive command completion. We preserve that feature
;; in the GUD buffer by using a GDB command designed just for Emacs.
(defvar gud-gdb-completion-function nil
"Completion function for GDB commands.
It receives two arguments: COMMAND, the prefix for which we seek
completion; and CONTEXT, the text before COMMAND on the line.
It should return a list of completion strings.")