diff options
Diffstat (limited to 'etc/DEBUG')
-rw-r--r-- | etc/DEBUG | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/DEBUG b/etc/DEBUG index 377cfcfc8f7..d401d0be901 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -160,9 +160,10 @@ If you attached the debugger to a running Emacs, type "continue" into the *gud-emacs* buffer and press RET. Many variables you will encounter while debugging are Lisp objects. -These are displayed as integer values (or structures, if you used the -"--enable-check-lisp-object-type" option at configure time) that are -hard to interpret, especially if they represent long lists. You can +These are normally displayed as opaque pointers or integers that are +hard to interpret, especially if they represent long lists. +(They are instead displayed as structures containing these opaque +values, if --enable-check-lisp-object-type is in effect.) You can use the 'pp' command to display them in their Lisp form. That command displays its output on the standard error stream, which you can redirect to a file using "M-x redirect-debugging-output". @@ -841,7 +842,7 @@ the machine where you started GDB and use the debugger from there. ** Debugging problems which happen in GC The array 'last_marked' (defined on alloc.c) can be used to display up -to 500 last objects marked by the garbage collection process. +to the 512 most-recent objects marked by the garbage collection process. Whenever the garbage collector marks a Lisp object, it records the pointer to that object in the 'last_marked' array, which is maintained as a circular buffer. The variable 'last_marked_index' holds the @@ -935,7 +936,7 @@ its own versions, and because the dumping process might be incompatible with the way these packages use to track allocated memory. Here are some of the changes you might find necessary: - - Edit configure, to set system_malloc and CANNOT_DUMP to "yes". + - Make sure unexec is disabled, e.g., './configure --without-unexec'. - Configure with a different --prefix= option. If you use GCC, version 2.7.2 is preferred, as some malloc debugging packages |