* configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
* src/lisp.h (DEBUGGER_SEES_C_MACROS): Likewise. It apparently doesn't work for GCC 3, and I suppose it's more trouble than it's worth to worry about this.
This commit is contained in:
parent
7e26a6c339
commit
0f679e866c
4 changed files with 11 additions and 18 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
|
||||
It apparently doesn't work for GCC 3, and I suppose it's more
|
||||
trouble than it's worth to worry about this.
|
||||
|
||||
2013-11-15 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
|
||||
|
|
10
configure.ac
10
configure.ac
|
@ -697,16 +697,6 @@ if test "$ac_test_CFLAGS" != set; then
|
|||
esac
|
||||
fi
|
||||
|
||||
for flag in $CFLAGS -; do
|
||||
case $flag in
|
||||
-g*3)
|
||||
AC_DEFINE([DEBUGGER_SEES_C_MACROS], 1,
|
||||
[Define to 1 if C macros are visible to the debugger, as with
|
||||
GCC's -g3 option.])
|
||||
break;;
|
||||
esac
|
||||
done
|
||||
|
||||
AC_ARG_ENABLE([gcc-warnings],
|
||||
[AS_HELP_STRING([--enable-gcc-warnings],
|
||||
[turn on lots of GCC warnings/errors. This is intended for
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* lisp.h (DEBUGGER_SEES_C_MACROS): Remove.
|
||||
|
||||
2013-11-16 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* doc.c (Fsubstitute_command_keys): Inhibit modification hooks
|
||||
|
|
|
@ -45,14 +45,7 @@ INLINE_HEADER_BEGIN
|
|||
definitions visible to the debugger. It's used for symbols that
|
||||
.gdbinit needs, symbols whose values may not fit in 'int' (where an
|
||||
enum would suffice). */
|
||||
#if defined DEBUGGER_SEES_C_MACROS && defined __GNUC__
|
||||
/* GCC versions before 3.5 have unreliable support for C macros in
|
||||
debug info. */
|
||||
# if __GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 5)
|
||||
# undef DEBUGGER_SEES_C_MACROS
|
||||
# endif
|
||||
#endif
|
||||
#if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS
|
||||
#if defined MAIN_PROGRAM
|
||||
# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE
|
||||
# define DEFINE_GDB_SYMBOL_END(id) = id;
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue