fn watchkind_to_breakcondition(kind: WatchKind) -> debugregs::BreakCondition {
    match kind {
        // There is no read-only break condition in x86
        WatchKind::Read => debugregs::BreakCondition::DataReadsWrites,
        WatchKind::Write => debugregs::BreakCondition::DataWrites,
        WatchKind::ReadWrite => debugregs::BreakCondition::DataReadsWrites,
    }
}
/// Helper function to convert gdbstub `WatchKind` to x86 `debugregs::BreakCondition`.
Helper function to convert gdbstub `WatchKind` to x86 `debugregs::BreakCondition`.
Helper function to convert gdbstub ` WatchKind ` to x86 ` debugregs :: BreakCondition ` .
fn watchkind_to_breakcondition(kind: WatchKind) -> debugregs::BreakCondition {
    match kind {
        // There is no read-only break condition in x86
        WatchKind::Read => debugregs::BreakCondition::DataReadsWrites,
        WatchKind::Write => debugregs::BreakCondition::DataWrites,
        WatchKind::ReadWrite => debugregs::BreakCondition::DataReadsWrites,
    }
}
fn watchkind_to_breakcondition ( kind : WatchKind ) -> debugregs :: BreakCondition { match kind { // There is no read-only break condition in x86 WatchKind :: Read => debugregs :: BreakCondition :: DataReadsWrites , WatchKind :: Write => debugregs :: BreakCondition :: DataWrites , WatchKind :: ReadWrite => debugregs :: BreakCondition :: DataReadsWrites , } }
Helper function to convert gdbstub `WatchKind` to x86 `debugregs::BreakCondition`.
Helper function to convert gdbstub ` WatchKind ` to x86 ` debugregs :: BreakCondition ` .
kind
WatchKind
kind
WatchKind