[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src ChangeLog emacs.c lisp.h
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] emacs/src ChangeLog emacs.c lisp.h |
Date: |
Wed, 26 Aug 2009 19:57:46 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 09/08/26 19:57:46
Modified files:
src : ChangeLog emacs.c lisp.h
Log message:
* lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag.
* emacs.c (main): Mention the --enable-profiling configure flag
instead of using CFLAGS.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/ChangeLog?cvsroot=emacs&r1=1.7710&r2=1.7711
http://cvs.savannah.gnu.org/viewcvs/emacs/src/emacs.c?cvsroot=emacs&r1=1.466&r2=1.467
http://cvs.savannah.gnu.org/viewcvs/emacs/src/lisp.h?cvsroot=emacs&r1=1.662&r2=1.663
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/src/ChangeLog,v
retrieving revision 1.7710
retrieving revision 1.7711
diff -u -b -r1.7710 -r1.7711
--- ChangeLog 26 Aug 2009 08:28:23 -0000 1.7710
+++ ChangeLog 26 Aug 2009 19:57:44 -0000 1.7711
@@ -1,3 +1,11 @@
+2009-08-26 Dan Nicolaescu <address@hidden>
+
+ * lisp.h: Replace #if 0 code for checking with text pointing to
+ the --enable-checking configure flag.
+
+ * emacs.c (main): Mention the --enable-profiling configure flag
+ instead of using CFLAGS.
+
2009-08-26 Ken Raeburn <address@hidden>
* Makefile.in (buildobj.h): New target.
Index: emacs.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/emacs.c,v
retrieving revision 1.466
retrieving revision 1.467
diff -u -b -r1.466 -r1.467
--- emacs.c 20 Aug 2009 06:41:45 -0000 1.466
+++ emacs.c 26 Aug 2009 19:57:46 -0000 1.467
@@ -1809,9 +1809,7 @@
/* Set up for profiling. This is known to work on FreeBSD,
GNU/Linux and MinGW. It might work on some other systems too.
Give it a try and tell us if it works on your system. To compile
- for profiling, add -pg to the switches your platform uses in
- CFLAGS and LDFLAGS. For example:
- `make CFLAGS="-pg -g -O -DPROFILING=1" LDFLAGS="-pg -g"'. */
+ for profiling, use the configure option --enable-profiling. */
#if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__)
#ifdef PROFILING
if (initialized)
Index: lisp.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/lisp.h,v
retrieving revision 1.662
retrieving revision 1.663
diff -u -b -r1.662 -r1.663
--- lisp.h 25 Aug 2009 00:48:42 -0000 1.662
+++ lisp.h 26 Aug 2009 19:57:46 -0000 1.663
@@ -28,29 +28,8 @@
#define P_(proto) ()
#endif
-#if 0
-/* Define this temporarily to hunt a bug. If defined, the size of
- strings is redundantly recorded in sdata structures so that it can
- be compared to the sizes recorded in Lisp strings. */
-
-#define GC_CHECK_STRING_BYTES 1
-
-/* Define this to check for short string overrun. */
-
-#define GC_CHECK_STRING_OVERRUN 1
-
-/* Define this to check the string free list. */
-
-#define GC_CHECK_STRING_FREE_LIST 1
-
-/* Define this to check for malloc buffer overrun. */
-
-#define XMALLOC_OVERRUN_CHECK 1
-
-/* Define this to check for errors in cons list. */
-/* #define GC_CHECK_CONS_LIST 1 */
-
-#endif /* 0 */
+/* Use the configure flag --enable-checking[=LIST] to enable various
+ types of run time checks for Lisp objects. */
#ifdef GC_CHECK_CONS_LIST
#define CHECK_CONS_LIST() check_cons_list()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/src ChangeLog emacs.c lisp.h,
Dan Nicolaescu <=