commit | 5776f0881019034af1f6fff8a1a7666857e3df34 | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Fri Feb 10 21:38:26 2023 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Thu Feb 16 14:33:18 2023 +0000 |
tree | 79a43df2731bc820c14324dc1c77443c3c64ba4a | |
parent | e37dae98a4d5c34dc12bc01ea51067b8f73823f4 [diff] |
Add --gdb flag to vm run,run-app and run-microdroid commands This flag will be passed through to crosvm, which in turn will start a gdb server at the given port. This will allow us to attach gdb to guest kernel. There are following rules on how --gdb flag can be used: 1. Only caller with USE_CUSTOM_VIRTUAL_MACHINE permission (a.k.a. shell) can specify gdbPort in the payload config 2. The --gdb flag is only supported for non-protected VMs. 3. The --gdb flag is only supported for fully debuggable app payloads. Bug: 242057159 Test: run-microdroid --gdb 3456 Change-Id: Iea93d8e6b37d23801d84cc1dc5fc1a250b54a047
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.