project/qemu: Preliminary support for lldb debugging
Note: Currently only supports qemu-generic-arm64-test-debug.
All Trusty project makefiles that want enhanced debugging support should
include the new debugging-inc.mk makefile.
How to use from the CLI:
1. Build the qemu-generic-arm64-test-debug project.
$ ./trusty/vendor/google/aosp/scripts/build.py \
--skip-tests \
qemu-generic-arm64-test-debug
2. Run Trusty in QEMU with the --debug flag
$ ./build-root/build-qemu-generic-arm64-test-debug/run --debug
3. Run LLDB:
$ lldb --source ./build-root/build-qemu-generic-arm64-test-debug/lldbinit
Bug: 239733414
Test: build and then lldb --source ./build-root/build-qemu-generic-arm64-test-debug/lldbinit
Change-Id: I0f8b173dbc32d90d58a6d9db626b670b3273e932
14 files changed