crosvm/aarch64/Cargo.toml
Pierre-Clément Tosi 7737c533db gdb: Add basic support for AArch64
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>
2022-09-28 11:25:50 +00:00

30 lines
850 B
TOML

[package]
name = "aarch64"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[features]
gdb = ["gdbstub", "gdbstub_arch", "arch/gdb", "hypervisor/gdb"]
[dependencies]
arch = { path = "../arch" }
data_model = { path = "../common/data_model" }
devices = { path = "../devices" }
gdbstub = { version = "0.6.3", optional = true }
gdbstub_arch = { version = "0.2.4", optional = true }
hypervisor = { path = "../hypervisor" }
kernel_cmdline = { path = "../kernel_cmdline" }
kernel_loader = { path = "../kernel_loader" }
kvm = { path = "../kvm" }
kvm_sys = { path = "../kvm_sys" }
libc = "*"
memoffset = "0.6"
minijail = "*"
remain = "*"
resources = { path = "../resources" }
sync = { path = "../common/sync" }
base = { path = "../base" }
thiserror = "*"
vm_control = { path = "../vm_control" }
vm_memory = { path = "../vm_memory" }