close

1. info all : dump all of cpu register

2. info mem : dump memory value

3. p/x $cr0 : print $cr0

4. set $r0=0x30000 : set r0 value 0x30000

5. set *(unsigned int*)0x41800=0x55 : set device 0x41800 value 0x55

6. p 0x41800 : print value of 0x41800

7. x/10w 0x41800 : read 10 data from 0x41800

8. target remote 10.0.2.137:1234 or

    target remote :1234(In windown, ACIE and gdb in the same PC)

9. load : load program

    It should type command gdb hello.adx, after enter gdb, we can use load

    to load code

10. b main : break in main function

11. c : continue run

12. x $mr7 : read mr7 value

13. x 0x0 :   read 0x0 value

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 hfchou 的頭像
    hfchou

    小方的盜墓筆記

    hfchou 發表在 痞客邦 留言(0) 人氣()