mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +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>
28 lines
805 B
TOML
28 lines
805 B
TOML
[package]
|
|
name = "x86_64"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
gdb = ["gdbstub", "msg_socket", "arch/gdb"]
|
|
|
|
[dependencies]
|
|
arch = { path = "../arch" }
|
|
assertions = { path = "../assertions" }
|
|
data_model = { path = "../data_model" }
|
|
devices = { path = "../devices" }
|
|
gdbstub = { version = "0.4.0", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
|
kernel_loader = { path = "../kernel_loader" }
|
|
libc = "*"
|
|
msg_socket = { path = "../msg_socket", optional = true }
|
|
minijail = "*"
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
sync = { path = "../sync" }
|
|
base = { path = "../base" }
|
|
acpi_tables = {path = "../acpi_tables" }
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|