Memory Leaks
Paul Scott
pmscott@dera.gov.uk
Thu Dec 2 06:38:00 GMT 1999
Philip Brown wrote:
>On Mon, 22 Nov 1999 22:31:07 +0200, jhm@cistron.nl wrote:
>>Fred Wan <a.wan@cable.A2000.nl> 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
More information about the Gcc-help
mailing list