public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Using valgrind to debug gcj
@ 2007-01-04 15:31 Rick Moseley
  0 siblings, 0 replies; only message in thread
From: Rick Moseley @ 2007-01-04 15:31 UTC (permalink / raw)
  To: frysk

Hi guys,

As mentioned in our meeting today, valgrind can be used to help debug 
gcj-compiled code, but it helps if a "suppression file" is pointed to 
when activated to help filter out errors that are expected due to some 
garbage collection tricks.  Tom Tromey wrote an article on using 
valgrind and is located here:

http://www.redhat.com/magazine/015jan06/features/valgrind/

In this article, Tom points out this website which has some useful 
information:

http://gcc.gnu.org/wiki/Debugging%20tips%20for%20libgcj

And this website in turn points top a website that has the "suppression 
file" that should be used with valgrind:

http://vektor.ca/eclipse/gcj.supp

If thew suppression file is not used, the output from valgrind when used 
on gcj-generated code is several times larger and contains useless 
information.

Rick

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-04 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-04 15:31 Using valgrind to debug gcj Rick Moseley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).