This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Memory Dump
- From: Hei Chan <structurechart at yahoo dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Sun, 29 Apr 2012 07:40:05 -0700 (PDT)
- Subject: Memory Dump
- Reply-to: Hei Chan <structurechart at yahoo dot com>
Hi,
I wonder whether it is possible to dump all the objects created in the memory at the moment with GDB (I am on v7.0.1).
What I am trying to achieve is to identify which types of objects take up most of the memory at the moment.
Valgrind doesn't catch it and so I believe that it is some logical bug in my code that keeps creating the objects and free all of them at the end (i.e. program terminated).
Thanks in advance.
Cheers,
Hei