Andes Workshop
http://forum.andestech.com/

簡易測試memory的gdb command
http://forum.andestech.com/viewtopic.php?f=16&t=221
Page 1 of 1

Author:  cindy [ Fri Dec 23, 2011 1:35 pm ]
Post subject:  簡易測試memory的gdb command

core0(gdb) restore 20K binary 0x100000
sending: "qPart:nds32:request:InvalidateCache"
received: "OK"
Restoring binary file 20K into memory (0x100000 to 0x105000)
core0(gdb) x/w 0x100428
0x100428: 0xffffffff
core0(gdb) dump memory real_dlm 0x100000 0x105000
core0(gdb) restore 64K binary 0x0
sending: "qPart:nds32:request:InvalidateCache"
received: "OK"
Restoring binary file 64K into memory (0x0 to 0x10000)
core0(gdb) dump memory real_ilm 0x0 0x10000
core0(gdb)

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/