comparison man/internals/internals.texi @ 4803:5d120deb60ca

Enable rudimentary support for valgrind, including functions that tell valgrind to do a leak check at runtime. See xemacs-patches message with ID <870180fe1001060942k2b06ef1bn2631c5f226b5e6b2@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Wed, 06 Jan 2010 10:44:06 -0700
parents bc4f2511bbea
children 755ae5b97edb 304aebb79cd3
comparison
equal deleted inserted replaced
4802:2fc0e2f18322 4803:5d120deb60ca
6223 machine! Run it like so: 6223 machine! Run it like so:
6224 @example 6224 @example
6225 temacs -batch -l loadup.el run-temacs @var{xemacs-args...} 6225 temacs -batch -l loadup.el run-temacs @var{xemacs-args...}
6226 @end example 6226 @end example
6227 6227
6228 @cindex Valgrind
6229 To make an XEmacs that can tell valgrind to do a memory leak check at
6230 runtime, configure @code{--with-valgrind}. If XEmacs has been
6231 configured @code{--with-newgc}, then valgrind must be invoked with
6232 @code{--vex-iropt-precise-memory-exns=yes} in order to handle signals
6233 properly.
6234
6228 @cindex error checking 6235 @cindex error checking
6229 Before you go through the trouble, are you compiling with all 6236 Before you go through the trouble, are you compiling with all
6230 debugging and error-checking off? If not, try that first. Be warned 6237 debugging and error-checking off? If not, try that first. Be warned
6231 that while Quantify is directly responsible for quite a few 6238 that while Quantify is directly responsible for quite a few
6232 optimizations which have been made to XEmacs, doing a run which 6239 optimizations which have been made to XEmacs, doing a run which