linux-kernel-module-cheat icon indicating copy to clipboard operation
linux-kernel-module-cheat copied to clipboard

GDB step debugging on Android AOSP

Open cirosantilli opened this issue 7 years ago • 0 comments

If anyone gets it working, tell me how, I'll add awesomely automated instructions to this repo somewhere.

Hopefully take this as the base steps: https://stackoverflow.com/questions/1809774/how-to-compile-the-android-aosp-kernel-and-test-it-with-the-android-emulator/48310014#48310014

Maybe it won't be too hard to do:

  • first get our full GDB command by running ./rungdb: it outputs the full command to the stdout before running it
  • look at the files needed in the command with a find inside the AOSP build dir
  • the emulator command had a flag to pass parameters to QEMU

cirosantilli avatar Feb 25 '18 20:02 cirosantilli