Skip to content

Instantly share code, notes, and snippets.

@nickdiego
Created April 7, 2017 22:30
Show Gist options
  • Select an option

  • Save nickdiego/3707edd8fe6c73be9dc6b0bef8c00119 to your computer and use it in GitHub Desktop.

Select an option

Save nickdiego/3707edd8fe6c73be9dc6b0bef8c00119 to your computer and use it in GitHub Desktop.
android.gdb
# remember to exec 'adb forward tcp:1234 tcp:1234'
# before to try to connect using this macro
define connect-to-android-dev
set sysroot /opt/labs/ex/android/out/target/product/wandboard/symbols/
set solib-search-path /opt/labs/ex/android/out/target/product/wandboard/symbols/system/lib
target remote localhost:1234
br main
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment