diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.h | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 60a965e0d2f..de4c1dc6531 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * lisp.h (DEBUGGER_SEES_C_MACROS): Remove. | ||
| 4 | |||
| 1 | 2013-11-16 Eli Zaretskii <eliz@gnu.org> | 5 | 2013-11-16 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * doc.c (Fsubstitute_command_keys): Inhibit modification hooks | 7 | * doc.c (Fsubstitute_command_keys): Inhibit modification hooks |
diff --git a/src/lisp.h b/src/lisp.h index 50b0f75c471..926b83d7ce0 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -45,14 +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 | #if defined DEBUGGER_SEES_C_MACROS && defined __GNUC__ | 48 | #if defined MAIN_PROGRAM |
| 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 | ||
| 55 | #if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS | ||
| 56 | # 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 |
| 57 | # define DEFINE_GDB_SYMBOL_END(id) = id; | 50 | # define DEFINE_GDB_SYMBOL_END(id) = id; |
| 58 | #else | 51 | #else |