aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/lisp.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fb262a6efb0..8131c7b7355 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-11-15 Paul Eggert <eggert@cs.ucla.edu>
2
3 * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END):
4 Define to empty if DEBUGGER_SEES_C_MACROS is defined.
5 This avoids placing unnecessary constants into the Emacs code.
6
12013-11-14 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) 72013-11-14 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2 8
3 * keyboard.c (make_ctrl_char) [HAVE_NTGUI]: Now externally visible 9 * keyboard.c (make_ctrl_char) [HAVE_NTGUI]: Now externally visible
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