(cc-define-list-program):
authorNick Roberts <nickrob@snap.net.nz>
Mon, 2 May 2005 00:32:00 +0000 (00:32 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 2 May 2005 00:32:00 +0000 (00:32 +0000)
Change to "gcc -E -dM -". Make customizable.

lisp/ChangeLog
lisp/progmodes/cc-vars.el

index 3a7e608..8e3b4e2 100644 (file)
@@ -1,3 +1,11 @@
+2005-05-02  Nick Roberts  <nickrob@snap.net.nz>
+       * progmodes/cc-mode.el (cc-create-define-alist): Use a shell.
+       (cc-mode-cpp-program): Rename to cc-define-list-program and
+       move to cc-vars.el.
+       
+       * progmodes/cc-vars.el (cc-define-list-program):
+       Change to "gcc -E -dM -". Make customizable.
+
 2005-05-02  Kim F. Storm  <storm@cua.dk>
 
        * emulation/cua-base.el: Fix check for CUA-mode if no init file.
index 89697c5..647b9bd 100644 (file)
@@ -1476,6 +1476,13 @@ names)."))
   :type 'c-extra-types-widget
   :group 'c)
 
+(defcustom cc-define-list-program "gcc -E -dM -"
+  "The program name for generating a list of #define directives.
+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 tooltip-gud-tips-p is t."
+  :type 'string
+  :group 'c)
 \f
 ;; Non-customizable variables, still part of the interface to CC Mode
 (defvar c-file-style nil