Andes Workshop http://forum.andestech.com/ |
|
gdb define macro http://forum.andestech.com/viewtopic.php?f=25&t=863 |
Page 1 of 1 |
Author: | jerry [ Tue Jul 01, 2014 12:58 am ] | ||
Post subject: | gdb define macro | ||
Creation the new gdb macro (readmemory) at test.gdb . The $arg0 is the variable for keyin. define readmemory set $loop = 100 while $loop > 100 set $loop -= 1 end x/1wx $arg0 end At the gdb command , source test.gdb readmemory 0x0($arg0)
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |