Expand description
Traits to encode architecture-specific target information.
Community created Arch
Implementations
Before getting your hands dirty and implementing a new Arch
from scratch,
make sure to check out gdbstub_arch
, a
companion crate to gdbstub
which aggregates community-created Arch
implementations for most common architectures!
Note: Prior to
gdbstub 0.5
,Arch
implementations were distributed as a part of the maingdbstub
crate (under thegdbstub::arch
module). This wasn’t ideal, anygdbstub::arch
-level breaking-changes forced the entiregdbstub
crate to release a new (potentially breaking!) version.
Having community-created
Arch
implementations distributed in a separate crate helps minimize any unnecessary “version churn” ingdbstub
core.
Enums
Encodes how the mainline GDB client handles target support for single-step on a particular architecture.
Traits
Encodes architecture-specific information, such as pointer size, register layout, etc…
Breakpoint kind for specific architectures.
Register identifier for target registers.
Methods to read/write architecture-specific registers.