Is there any mechanism in GDB to print memory allocation pattern in a core dump file

santoshp santosh.pradhan@gmail.com
Wed May 23 17:18:00 GMT 2012


The application is a C++ application running on Linux (RHEL 5.7 x86_64). It
uses a private memory allocator (variation of ptmalloc). The gdb-heap link
says it works for python objects and work for c++ is under process. Can I
use the gdb-heap ?

Thanks,
Santosh

Nothing built in, but there is gdb-heap, if you're on a system using
glibc.

https://fedorahosted.org/gdb-heap/

Tom



-- 
View this message in context: http://old.nabble.com/Is-there-any-mechanism-in-GDB-to-print-memory-allocation-pattern-in-a-core-dump-file-tp33895291p33897108.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.



More information about the Gdb mailing list