gdbstub 0.7.10

An implementation of the GDB Remote Serial Protocol in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::protocol::common::qxfer::ParseAnnex;
use crate::protocol::common::qxfer::QXferReadBase;

pub type qXferLibrariesSvr4Read<'a> = QXferReadBase<'a, LibrariesSvr4Annex>;

#[derive(Debug)]
pub struct LibrariesSvr4Annex;

impl ParseAnnex<'_> for LibrariesSvr4Annex {
    #[inline(always)]
    fn from_buf(buf: &[u8]) -> Option<Self> {
        if buf != b"" {
            return None;
        }

        Some(LibrariesSvr4Annex)
    }
}