This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Memory Dump


Hi Phillippe,

The feature you mentioned sounds interesting.

Is it capable of taking heap snapshot per user request/command?

What's the name of that feature? ?I want to look it up. ? Or do you have a link? ?(don't see it in the release note of Valgrind 3.7.0).

Thanks in advance.


Cheers,
Hei


----- Original Message -----
From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: xgsa <xgsa@yandex.ru>; Hei Chan <structurechart@yahoo.com>
Cc: gdb@sourceware.org
Sent: Thursday, May 3, 2012 12:22 PM
Subject: Re: Memory Dump

> Hi,
> 
> I am not sure, but it seems massif (the tool from the valgrind toolchain) could help you.
> 
> P.S. However the question is still interesting - is there a possibility to solve the problem with gdb? Could someone answer it?

Valgrind massif or Valgrind memcheck are providing functionalities
to give heap information. Note that Valgrind 3.7.0 has
an integrated gdbserver, which means you can do "heap snaphots"
or "leak search" or similar on request from a gdb (or from command line).

Philippe


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]