diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.ac | 10 | ||||
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lisp.h | 2 |
4 files changed, 21 insertions, 1 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-15 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure.ac (DEBUGGER_SEES_C_MACROS): New macro. | ||
| 4 | |||
| 1 | 2013-11-14 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2013-11-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Simplify, port and tune bool vector implementation. | 7 | Simplify, port and tune bool vector implementation. |
diff --git a/configure.ac b/configure.ac index a9baf608bf3..9c66a7d2d85 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -697,6 +697,16 @@ if test "$ac_test_CFLAGS" != set; then | |||
| 697 | esac | 697 | esac |
| 698 | fi | 698 | fi |
| 699 | 699 | ||
| 700 | for flag in $CFLAGS -; do | ||
| 701 | case $flag in | ||
| 702 | -g*3) | ||
| 703 | AC_DEFINE([DEBUGGER_SEES_C_MACROS], 1, | ||
| 704 | [Define to 1 if C macros are visible to the debugger, as with | ||
| 705 | GCC's -g3 option.]) | ||
| 706 | break;; | ||
| 707 | esac | ||
| 708 | done | ||
| 709 | |||
| 700 | AC_ARG_ENABLE([gcc-warnings], | 710 | AC_ARG_ENABLE([gcc-warnings], |
| 701 | [AS_HELP_STRING([--enable-gcc-warnings], | 711 | [AS_HELP_STRING([--enable-gcc-warnings], |
| 702 | [turn on lots of GCC warnings/errors. This is intended for | 712 | [turn on lots of GCC warnings/errors. This is intended for |
diff --git a/src/ChangeLog b/src/ChangeLog index fb262a6efb0..8131c7b7355 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-11-14 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) | 7 | 2013-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 |