Is there any mechanism in GDB to print memory allocation pattern in a core dump file
Tom Tromey
tromey@redhat.com
Fri May 25 14:27:00 GMT 2012
>>>>> "Santosh" == santoshp <santosh.pradhan@gmail.com> writes:
Santosh> The application is a C++ application running on Linux (RHEL 5.7
Santosh> x86_64). It uses a private memory allocator (variation of
Santosh> ptmalloc). The gdb-heap link says it works for python objects
Santosh> and work for c++ is under process. Can I use the gdb-heap ?
Probably not as-is. gdb-heap relies on glibc.
You could probably port it to your allocator, though.
Tom
More information about the Gdb
mailing list