mdb debugger(solaris) equivalent in linux
Hi All,
Could anyone suggest me any debugger equivalent to mdb in solaris?? I am using the libumem port for linux. Regards, Subbu |
Quote:
|
I would like to debug the memory leaks in my code with a debugger. The tool should mainly be capable of reading the core dumps to detect the leaks. And much important is, the need is in Linux.
More short and crisp --> I am searching for a tool in linux which could give the mdb::findleaks functionality. |
Quote:
AGAIN GDB is extensible, as is MDB...you can easily use it with valgrind, and have been able to do so for years. There is ample documentation and thousands of hits in Google for using GDB to do this...did you try to look any of them up??? Activate gdb: Code:
valgrind --vgdb-error=0 ....<whatever program> Code:
monitor leak_check full reachable any Code:
monitor block_list <loss_record_nr> |
All times are GMT -5. The time now is 06:42 AM. |