This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Memory Dump
- From: Tom Tromey <tromey at redhat dot com>
- To: Hei Chan <structurechart at yahoo dot com>
- Cc: "gdb\ at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 09 May 2012 14:24:45 -0600
- Subject: Re: Memory Dump
- References: <1335710405.38804.YahooMailNeo@web162403.mail.bf1.yahoo.com>
>>>>> "Hei" == Hei Chan <structurechart@yahoo.com> writes:
Hei> I wonder whether it is possible to dump all the objects created in the
Hei> memory at the moment with GDB (I am on v7.0.1).
Hei> What I am trying to achieve is to identify which types of objects take
Hei> up most of the memory at the moment.
In addition to the other answers, you might be interested in gdb-heap:
https://fedorahosted.org/gdb-heap/
Tom