Last active
December 24, 2015 22:09
-
-
Save lirenlin/6870875 to your computer and use it in GitHub Desktop.
debug use qemu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qemu-arm -g 1234 a.out & | |
| gdb-arm | |
| file a.out | |
| target remote localhost:1234 | |
| b main | |
| c | |
| s | |
| info registers r1 | |
| i r r1 | |
| x/uw addr | |
| http://tinkering-is-fun.blogspot.co.uk/2009/12/debugging-non-native-programs-with-qemu.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment