mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
7737c533db
Enable the "gdb" feature on AArch64 (KVM) builds and add support for: - reading & writing guest memory (only guest IPAs, for now) - getting & setting core registers - getting & setting the few system registers from kvm_regs - setting hardware breakpoints (no software breakpoints, for now) - enabling single-step mode BUG=b:222222882 BUG=b:240711627 BUG=chromium:1141812 TEST=tools/dev_container ./tools/run_tests Change-Id: I0ae38c1065002d55a569b1575b1637110694e6db Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3785467 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Takaya Saeki <takayas@chromium.org>
39 lines
890 B
TOML
39 lines
890 B
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
haxm = []
|
|
whpx = []
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
|
|
[dependencies]
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "1"
|
|
data_model = { path = "../common/data_model" }
|
|
downcast-rs = "1.2.0"
|
|
enumn = "0.1.0"
|
|
fnv = "1"
|
|
gdbstub = { version = "0.6.3", optional = true }
|
|
gdbstub_arch = { version = "0.2.4", optional = true }
|
|
libc = "*"
|
|
memoffset = "0.6"
|
|
once_cell = "1.7"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
kvm = { path = "../kvm" }
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
thiserror = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
tempfile = "*"
|