Skip to content

Commit

Permalink
remove NoActiveThread error
Browse files Browse the repository at this point in the history
closes #130
  • Loading branch information
daniel5151 committed Apr 29, 2023
1 parent 9ff95b4 commit 2adbf4c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/stub/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ pub enum GdbStubError<T, C> {
/// `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.
Expand Down Expand Up @@ -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`"),
Expand Down

0 comments on commit 2adbf4c

Please sign in to comment.