title: GNU Debugger (GDB) and "help info leaks"?
body: <p>I am running GDB 7.2 on Linux 64 bit machine. It all works fine but now I want to try use GDB to help me detect memory leaks as shown in the following article:</p>
  
  <p><a href="http://geocities.ws/murugesan/technical/gdb/memoryleak_gdb.html" rel="nofollow">http://geocities.ws/murugesan/technical/gdb/memoryleak_gdb.html</a></p>
  
  <p>There is a section that says:</p>
  
  <pre><code>GDB with info leaks command availability check:
  
        # gdb -q
        (gdb) help info leaks  
        If you find the help for that command,then GDB is capable to debug the program for memory leaks.  Else the support of GDB to find the memory leaks is not available in that GDB version.
  </code></pre>
  
  <p>When I do "help info leaks" I get nothing ;-(</p>
  
  <p>Do I have to do it for a specific compiled file? Something like "file myprog", and then do everything?</p>
  
  <p>BTW: How do you guys find using GDB for finding memory leaks?</p>