From 2adbf4ca9b38e6f57703a6f867cbdf810a55ccda Mon Sep 17 00:00:00 2001 From: Daniel Prilik Date: Sat, 29 Apr 2023 12:08:04 -0700 Subject: [PATCH] remove NoActiveThread error closes #130 --- src/stub/error.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/stub/error.rs b/src/stub/error.rs index 1f260ff..53414de 100644 --- a/src/stub/error.rs +++ b/src/stub/error.rs @@ -36,13 +36,6 @@ pub enum GdbStubError { /// `StopReason::HwBreak` if the hardware breakpoints IDET hasn't been /// implemented. UnsupportedStopReason, - /// Target didn't report any active threads when there should have been at - /// least one running. - #[deprecated( - since = "0.6.5", - note = "NoActiveThreads is no longer generated by gdbstub" - )] - NoActiveThreads, /// The target has not opted into using implicit software breakpoints. /// See [`Target::guard_rail_implicit_sw_breakpoints`] for more information. @@ -100,8 +93,6 @@ where TargetMismatch => write!(f, "GDB client sent a packet with too much data for the given target."), TargetError(e) => write!(f, "Target threw a fatal error: {:?}", e), UnsupportedStopReason => write!(f, "Target responded with an unsupported stop reason."), - #[allow(deprecated)] - NoActiveThreads => write!(f, "Target didn't report any active threads when there should have been at least one running."), ImplicitSwBreakpoints => write!(f, "Warning: The target has not opted into using implicit software breakpoints. See `Target::guard_rail_implicit_sw_breakpoints` for more information."), MissingCurrentActivePidImpl => write!(f, "GDB client attempted to attach to a new process, but the target has not implemented support for `ExtendedMode::support_current_active_pid`"),