From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8774e609fa907c62 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!newsfeed.stanford.edu!news.kjsl.com!news-peer-lilac.gradwell.net!not-for-mail From: Rob Norris Newsgroups: comp.lang.ada Subject: Re: gnatmem Date: Mon, 01 Jun 2009 16:55:33 +0100 Message-ID: References: <4a210da6$0$2864$ba620e4c@news.skynet.be> X-Newsreader: Forte Free Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: glkas0286.greenlnk.net NNTP-Posting-Host: 20.133.0.1 X-Trace: 1243871754 news.gradwell.net 512 dnews/20.133.0.1:42693 X-Complaints-To: news-abuse@gradwell.net Xref: g2news2.google.com comp.lang.ada:6164 Date: 2009-06-01T16:55:33+01:00 List-Id: On Sat, 30 May 2009 12:42:12 +0200, Olivier Scalbert wrote: >Hello, > >I would like to detect (potential) memory leak problems in Ada programs. >I think gnatmem can do that. >I am using debian and I do not found any package containing gnatmem. >Do I miss something, or is there an other tool somewhere ? > >Thanks, > >Olivier. You can try using the valgrind suite of programs. I think valgrind is the debian package name too. I think you'll need to modify your linking command (normally in a Makefile or gpr) to use the valgrind library(s). Valgrind comes with pretty extensive help on and off line.