//! Implementations for various PowerPC architectures. use gdbstub::arch::Arch; use gdbstub::arch::RegId; pub mod reg; /// Implements `Arch` for 32-bit PowerPC + AltiVec SIMD. /// /// Check out the [module level docs](gdbstub::arch#whats-with-regidimpl) for /// more info about the `RegIdImpl` type parameter. pub enum PowerPcAltivec32 { #[doc(hidden)] _Marker(core::marker::PhantomData), } impl Arch for PowerPcAltivec32 { type Usize = u32; type Registers = reg::PowerPcCommonRegs; type RegId = RegIdImpl; type BreakpointKind = usize; fn target_description_xml() -> Option<&'static str> { Some( r#"powerpc:common"#, ) } }