From mboxrd@z Thu Jan 1 00:00:00 1970 From: pmscott@dera.gov.uk (Paul Scott) To: help-gcc@gnu.org Subject: Re: Memory Leaks Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: References: <383536D0.C1DA51E8@cable.A2000.nl> X-SW-Source: 1999-12n/msg00021.html Message-ID: <19991231222400.Cx58A04sips5Nexy4jtbq2-6gHdrXgyJ8aVuJFmU9wE@z> Philip Brown wrote: >On Mon, 22 Nov 1999 22:31:07 +0200, jhm@cistron.nl wrote: >>Fred Wan wrote: >>>Does anyone know if there are possibilities of tracing memory leaks with >>>gdb (xxgdb)? >> >>There are numerous tools that can be used with gcc + gdb; see >> http://www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html . There's >>even a gcc modified for leak tracking called "Checker" (I think it has a >>homepage on www.gnu.org), but I don't know how mature it is. > >fairly UNmature. >For example, you can't even use it on X executables. > You can also use insure++ (a commercial package). Quite pricey for Sun's and the like, but I believe a free 'lite' version is available when you buy the official RedHat Linux CD set (it's on the Applications CD). -- Paul Scott