aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-11-16 19:58:30 -0800
committerPaul Eggert2013-11-16 19:58:30 -0800
commit0f679e866c6aaf8cebd9291bd715bc99eea511ae (patch)
tree6a2f01e960e6f8b985e738d2dc2d2b020e0ce003
parent7e26a6c339371c348dfda84ea7314c2148572b09 (diff)
downloademacs-0f679e866c6aaf8cebd9291bd715bc99eea511ae.tar.gz
emacs-0f679e866c6aaf8cebd9291bd715bc99eea511ae.zip
* 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.
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac10
-rw-r--r--src/ChangeLog4
-rw-r--r--src/lisp.h9
4 files changed, 11 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 506fa045864..30c87c3e613 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12013-11-17 Paul Eggert <eggert@cs.ucla.edu>
2
3 * configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
4 It apparently doesn't work for GCC 3, and I suppose it's more
5 trouble than it's worth to worry about this.
6
12013-11-15 Paul Eggert <eggert@cs.ucla.edu> 72013-11-15 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 * configure.ac (DEBUGGER_SEES_C_MACROS): New macro. 9 * configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
diff --git a/configure.ac b/configure.ac
index 9c66a7d2d85..a9baf608bf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -697,16 +697,6 @@ if test "$ac_test_CFLAGS" != set; then
697 esac 697 esac
698fi 698fi
699 699
700for 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
708done
709
710AC_ARG_ENABLE([gcc-warnings], 700AC_ARG_ENABLE([gcc-warnings],
711 [AS_HELP_STRING([--enable-gcc-warnings], 701 [AS_HELP_STRING([--enable-gcc-warnings],
712 [turn on lots of GCC warnings/errors. This is intended for 702 [turn on lots of GCC warnings/errors. This is intended for
diff --git a/src/ChangeLog b/src/ChangeLog
index 60a965e0d2f..de4c1dc6531 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12013-11-17 Paul Eggert <eggert@cs.ucla.edu>
2
3 * lisp.h (DEBUGGER_SEES_C_MACROS): Remove.
4
12013-11-16 Eli Zaretskii <eliz@gnu.org> 52013-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