Skip to content

Instantly share code, notes, and snippets.

@lirenlin
Last active December 24, 2015 22:09
Show Gist options
  • Select an option

  • Save lirenlin/6870875 to your computer and use it in GitHub Desktop.

Select an option

Save lirenlin/6870875 to your computer and use it in GitHub Desktop.
debug use qemu
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