Andes Workshop http://forum.andestech.com/ |
|
Show instructions in memory http://forum.andestech.com/viewtopic.php?f=23&t=629 |
Page 1 of 1 |
Author: | cindy [ Thu Oct 11, 2012 4:31 pm ] |
Post subject: | Show instructions in memory |
If we have no source file, we want to know the instructions in memory. We can use "x/i" command in gdb See the following example. First, we start ICEman Gdb command "x/10i 0xc6a" is to show 10 instructions at address 0x6ca. You may use "x/20i $pc" to show 20 instructions at pc counter. Attachment: gdb.png [ 16.54 KiB | Viewed 7235 times ] |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |