mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
c5262e9fad
Add a flag '--gdb <port>' to provide GDB remote protocol interface so a developer can attach GDB to the guest kernel. In this CL, we support read/write operations for registers and memories. BUG=chromium:1141812 TEST=Attach gdb and see register values on workstation and intel DUT Change-Id: Ia07763870d94e87867f6df43f039196aa703ee59 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2440221 Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: Keiichi Watanabe <keiichiw@chromium.org> Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
19 lines
461 B
TOML
19 lines
461 B
TOML
[package]
|
|
name = "vm_control"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
gdb = ["gdbstub"]
|
|
|
|
[dependencies]
|
|
data_model = { path = "../data_model" }
|
|
gdbstub = { version = "0.4.0", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "*"
|
|
msg_socket = { path = "../msg_socket" }
|
|
resources = { path = "../resources" }
|
|
sync = { path = "../sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|