This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
dumping and browsing heap
- From: Charlls Quarra <charlls_quarra at yahoo dot com dot ar>
- To: gdb at sources dot redhat dot com
- Date: Thu, 15 Jul 2004 23:02:50 -0300 (ART)
- Subject: dumping and browsing heap
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<control-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