linux-kernel-module-cheat
linux-kernel-module-cheat copied to clipboard
GDB step debugging on Android AOSP
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
findinside the AOSP build dir - the
emulatorcommand had a flag to pass parameters to QEMU