We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e45c4 commit 834bd68Copy full SHA for 834bd68
1 file changed
src/arch.rs
@@ -31,9 +31,9 @@ pub trait RegId: Sized + Debug {
31
/// Map raw GDB register number to a corresponding `RegId` and optional
32
/// register size.
33
///
34
- /// If the register size is specified here, no more than that amount of
35
- /// bytes will be permitted to be transferred on the wire for that
36
- /// register.
+ /// If the register size is specified here, gdbstub will include a runtime
+ /// check that ensures target implementations do not send back more
+ /// bytes than the register allows
37
38
/// Returns `None` if the register is not available.
39
fn from_raw_id(id: usize) -> Option<(Self, Option<NonZeroUsize>)>;
0 commit comments