aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert2013-11-14 17:59:57 -0800
committerPaul Eggert2013-11-14 17:59:57 -0800
commit1a191e5c73cdae3d3b34f5fc3501bfd2ddf50ec8 (patch)
tree2a70852978dae7d8adeb0c9bbf633efe347e5a61 /src/lisp.h
parent8ef7141bbe65aec2eb5313ff19729b67d371c1e6 (diff)
downloademacs-1a191e5c73cdae3d3b34f5fc3501bfd2ddf50ec8.tar.gz
emacs-1a191e5c73cdae3d3b34f5fc3501bfd2ddf50ec8.zip
* configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): Define to empty if DEBUGGER_SEES_C_MACROS is defined. This avoids placing unnecessary constants into the Emacs code.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 72e5dad8ca3..3eb31ac34be 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -45,7 +45,7 @@ INLINE_HEADER_BEGIN
45 definitions visible to the debugger. It's used for symbols that 45 definitions visible to the debugger. It's used for symbols that
46 .gdbinit needs, symbols whose values may not fit in 'int' (where an 46 .gdbinit needs, symbols whose values may not fit in 'int' (where an
47 enum would suffice). */ 47 enum would suffice). */
48#ifdef MAIN_PROGRAM 48#if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS
49# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE 49# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE
50# define DEFINE_GDB_SYMBOL_END(id) = id; 50# define DEFINE_GDB_SYMBOL_END(id) = id;
51#else 51#else