www.delorie.com/gnu/docs/gcc/gnat_ug_206.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.6.2 gnatmem Using GMEM Mode

This mode use the same algorithm to detect memory leak as the GDB mode of gnatmem, the only difference is in the way data are gathered. In GMEM mode the program is linked with instrumented version of __gnat_malloc and __gnat_free routines. Information needed to find memory leak are recorded by these routines in file `gmem.out'. This mode also require that the stack traceback be available, this is only implemented on some platforms 18.5 GDB and GMEM Modes.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003