From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26723 invoked by alias); 16 Jul 2004 02:02:52 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26658 invoked from network); 16 Jul 2004 02:02:51 -0000 Received: from unknown (HELO web41810.mail.yahoo.com) (66.218.93.144) by sourceware.org with SMTP; 16 Jul 2004 02:02:51 -0000 Message-ID: <20040716020250.84785.qmail@web41810.mail.yahoo.com> Received: from [200.84.69.192] by web41810.mail.yahoo.com via HTTP; Thu, 15 Jul 2004 23:02:50 ART Date: Fri, 16 Jul 2004 03:23:00 -0000 From: =?iso-8859-1?q?Charlls=20Quarra?= Subject: dumping and browsing heap To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-07/txt/msg00192.txt.bz2 Hi, i want to give a look at the heap globally, so i do: dump memory blafile 0x8100000 0x8300000 whenever i find something interesting in the blafile (i open it with vi) a g command gives me the absolute position of the desired byte in the file (at least that is the expected behaviour) the dump should contain 0x200000 (2097152 in decimal) bytes, however it happens to contain 2295106 (197954 bytes in excess). Someone knows how to account for these extra bytes? at the end i need to compute the real position in memory from the position in the file dump cheers ___________________________________________________________ 100mb gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar