mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
33fe685fc6
Remove target_arch-specific #[cfg]s where the underlying code is architecture-agnostic. Introduce a GdbOps trait for architectures to implement. Make use of the generic gdbstub::arch::Arch trait where relevant. Import base::Tube unconditionally in arch/src/sys/unix.rs. Expand crate::gdb::* in vm_control/src/lib.rs for clarity. Keep target_arch checks in x86-specific code to exclude 32-bit builds as those don't seem to provide GDB support. BUG=b:222222882 BUG=chromium:1141812 TEST=tools/dev_container ./tools/run_tests Change-Id: I3f5ceeeb9031bee222ecd388dddb815e256748e8 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3785464 Tested-by: Pierre-Clément Tosi <ptosi@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Auto-Submit: Pierre-Clément Tosi <ptosi@google.com> Commit-Queue: Pierre-Clément Tosi <ptosi@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |