Variable: gdb-cpp-define-alist-program

gdb-cpp-define-alist-program is a customizable variable defined in gdb-mi.el.gz.

Value

"gcc -E -dM -"

Documentation

Shell command for generating a list of defined macros in a source file.

This list is used to display the #define directive associated with an identifier as a tooltip. It works in a debug session with GDB, when gud-tooltip-mode(var)/gud-tooltip-mode(fun) is t.

Set gdb-cpp-define-alist-flags for any include paths or predefined macros.

This variable was added, or its default value changed, in Emacs 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defcustom gdb-cpp-define-alist-program "gcc -E -dM -"
  "Shell command for generating a list of defined macros in a source file.
This list is used to display the #define directive associated
with an identifier as a tooltip.  It works in a debug session with
GDB, when `gud-tooltip-mode' is t.

Set `gdb-cpp-define-alist-flags' for any include paths or
predefined macros."
  :type 'string
  :group 'gdb
  :version "22.1")