emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115126: * configure.ac (DEBUGGER_SEES_C_MACROS): Re


From: Paul Eggert
Subject: [Emacs-diffs] trunk r115126: * configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
Date: Sun, 17 Nov 2013 03:58:34 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115126
revision-id: address@hidden
parent: address@hidden
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sat 2013-11-16 19:58:30 -0800
message:
  * 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.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  configure.ac                   
configure.in-20091113204419-o5vbwnq5f7feedwu-783
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/lisp.h                     lisp.h-20091113204419-o5vbwnq5f7feedwu-253
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-11-15 01:59:57 +0000
+++ b/ChangeLog 2013-11-17 03:58:30 +0000
@@ -1,3 +1,9 @@
+2013-11-17  Paul Eggert  <address@hidden>
+
+       * 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  <address@hidden>
 
        * configure.ac (DEBUGGER_SEES_C_MACROS): New macro.

=== modified file 'configure.ac'
--- a/configure.ac      2013-11-15 01:59:57 +0000
+++ b/configure.ac      2013-11-17 03:58:30 +0000
@@ -697,16 +697,6 @@
   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

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-11-16 10:23:09 +0000
+++ b/src/ChangeLog     2013-11-17 03:58:30 +0000
@@ -1,3 +1,7 @@
+2013-11-17  Paul Eggert  <address@hidden>
+
+       * lisp.h (DEBUGGER_SEES_C_MACROS): Remove.
+
 2013-11-16  Eli Zaretskii  <address@hidden>
 
        * doc.c (Fsubstitute_command_keys): Inhibit modification hooks

=== modified file 'src/lisp.h'
--- a/src/lisp.h        2013-11-15 08:18:37 +0000
+++ b/src/lisp.h        2013-11-17 03:58:30 +0000
@@ -45,14 +45,7 @@
    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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]