[4683] in Release_7.7_team
valgrind installed on Athena
daemon@ATHENA.MIT.EDU (Alex T Prengel)
Mon Jul 12 19:05:30 2004
Message-Id: <200407122302.i6CN2j61014697@dit.mit.edu>
To: software-announce@MIT.EDU
cc: alexp@MIT.EDU, cfyi@MIT.EDU, facdev@MIT.EDU, release-team@MIT.EDU
Date: Mon, 12 Jul 2004 19:02:45 -0400
From: Alex T Prengel <alexp@MIT.EDU>
I've installed valgrind on Athena for Linux/i386 machines. Valgrind is
a debugger and profiler that can detect and diagnose dynamic memory
allocation problems in Linux/i386 programs. Programs to be debugged
with Valgrind should be compiled with the gcc "-g" command-line option.
To use it:
add valgrind
valgrind <options> ./binarytotest
An online manual is at
http://web.mit.edu/valgrind_v2.0.0/share/doc/valgrind/manual.html
Note that valgrind is sensitive to symbols in glibc- this version
won't work with glibc 2.3.2-27 in Red Hat 9, but will work with
2.3.2-95 in the current 9.3 Linux-Athena release. The current valgrind
version is also known to not work in the Fedora FC2 release (even if
you recompile it from source).
Alex