This is the mail archive of the gdb@sources.redhat.com 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]

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


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