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


Untitled Document

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

18. Finding Memory Problems with gnatmem

gnatmem, is a tool that monitors dynamic allocation and deallocation activity in a program, and displays information about incorrect deallocations and possible sources of memory leaks. Gnatmem provides three type of information:

The gnatmem command has two modes. It can be used with gdb or with instrumented allocation and deallocation routines. The later mode is called the GMEM mode. Both modes produce the very same output.

18.1 Running gnatmem (GDB Mode)  
18.2 Running gnatmem (GMEM Mode)  
18.3 Switches for gnatmem  
18.4 Example of gnatmem Usage  
18.5 GDB and GMEM Modes  
18.6 Implementation Note  


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