Skip to content

Commit

Permalink
fixup! gdbstub_arch: Add support for AArch64
Browse files Browse the repository at this point in the history
  • Loading branch information
ptosi committed Aug 11, 2022
1 parent cb2ddd3 commit 3796559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdbstub_arch/src/aarch64/reg/id.rs
Expand Up @@ -51,7 +51,7 @@ impl AArch64RegId {
Self::X(_n @ 0..=30) => Some(core::mem::size_of::<u64>()),
Self::V(_n @ 0..=31) => Some(core::mem::size_of::<u128>()),
Self::Pc | Self::Sp | Self::System(_) => Some(core::mem::size_of::<u64>()),
_ => None,
Self::X(_) | Self::V(_) => unreachable!("invalid core register offset"),
}
}

Expand Down

0 comments on commit 3796559

Please sign in to comment.