Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/man/internals/internals.texi Wed Jan 06 10:01:14 2010 -0700 +++ b/man/internals/internals.texi Wed Jan 06 10:44:06 2010 -0700 @@ -6225,6 +6225,13 @@ temacs -batch -l loadup.el run-temacs @var{xemacs-args...} @end example +@cindex Valgrind +To make an XEmacs that can tell valgrind to do a memory leak check at +runtime, configure @code{--with-valgrind}. If XEmacs has been +configured @code{--with-newgc}, then valgrind must be invoked with +@code{--vex-iropt-precise-memory-exns=yes} in order to handle signals +properly. + @cindex error checking Before you go through the trouble, are you compiling with all debugging and error-checking off? If not, try that first. Be warned