From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31830 invoked by alias); 6 May 2012 00:55:23 -0000 Received: (qmail 31809 invoked by uid 22791); 6 May 2012 00:55:21 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_XG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nm20-vm0.bullet.mail.bf1.yahoo.com (HELO nm20-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.165) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sun, 06 May 2012 00:55:08 +0000 Received: from [98.139.212.145] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 06 May 2012 00:55:07 -0000 Received: from [98.139.212.235] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 06 May 2012 00:55:07 -0000 Received: from [127.0.0.1] by omp1044.mail.bf1.yahoo.com with NNFMP; 06 May 2012 00:55:07 -0000 Received: (qmail 20637 invoked by uid 60001); 6 May 2012 00:55:07 -0000 Received: from [108.218.104.112] by web162404.mail.bf1.yahoo.com via HTTP; Sat, 05 May 2012 17:55:07 PDT References: <1335710405.38804.YahooMailNeo@web162403.mail.bf1.yahoo.com> <4FA22BFD.1060600@yandex.ru> Message-ID: <1336265707.19913.YahooMailNeo@web162404.mail.bf1.yahoo.com> Date: Sun, 06 May 2012 00:55:00 -0000 From: Hei Chan Reply-To: Hei Chan Subject: Re: Memory Dump To: Philippe Waroquiers , xgsa Cc: "gdb@sourceware.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00022.txt.bz2 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? =A0I want to look it up. =A0 Or do you hav= e a link? =A0(don't see it in the release note of Valgrind 3.7.0). Thanks in advance. Cheers, Hei ----- Original Message ----- From: Philippe Waroquiers To: xgsa ; Hei Chan Cc: gdb@sourceware.org Sent: Thursday, May 3, 2012 12:22 PM Subject: Re: Memory Dump > Hi, >=20 > I am not sure, but it seems massif (the tool from the valgrind toolchain)= could help you. >=20 > P.S. However the question is still interesting - is there a possibility t= o 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