aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/lisp.h7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 92174beb27b..14de1e793b5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-11-15 Eli Zaretskii <eliz@gnu.org>
2
3 * lisp.h (DEBUGGER_SEES_C_MACROS) [GCC < v3.5]: Pessimistically
4 assume C macros are not supported even under -g3 in these old GCC
5 versions.
6
12013-11-15 Leo Liu <sdl.web@gmail.com> 72013-11-15 Leo Liu <sdl.web@gmail.com>
2 8
3 * minibuf.c (Ftry_completion, Fall_completions) 9 * minibuf.c (Ftry_completion, Fall_completions)
diff --git a/src/lisp.h b/src/lisp.h
index 3eb31ac34be..50b0f75c471 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -45,6 +45,13 @@ 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#if defined DEBUGGER_SEES_C_MACROS && defined __GNUC__
49/* GCC versions before 3.5 have unreliable support for C macros in
50 debug info. */
51# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 5)
52# undef DEBUGGER_SEES_C_MACROS
53# endif
54#endif
48#if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS 55#if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS
49# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE 56# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE
50# define DEFINE_GDB_SYMBOL_END(id) = id; 57# define DEFINE_GDB_SYMBOL_END(id) = id;