c - GNU Debugger (GDB) and "help info leaks"? -


i running gdb 7.2 on linux 64 bit machine. works fine want try use gdb me detect memory leaks shown in following article:

http://geocities.ws/murugesan/technical/gdb/memoryleak_gdb.html

there section says:

gdb info leaks command availability check:        # gdb -q       (gdb) info leaks         if find command,then gdb capable debug program memory leaks.  else support of gdb find memory leaks not available in gdb version. 

when "help info leaks" nothing ;-(

do have specific compiled file? "file myprog", , everything?

btw: how guys find using gdb finding memory leaks?

the title of page is: "memory leak detection on hp-unix platforms".

the "info leaks" added hp-ux extension gdb, , never made fsf release of gdb (which linux distributions use).

on linux, use valgrind.

on solaris, use libumem.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -