Releases: daniel5151/gdbstub
Releases · daniel5151/gdbstub
0.7.3
New Features
- Add new
core_error
feature, to haveGdbStubError
implcore::error::Error
. #154 (ultimaweapon)- Note: Out of an abundance of caution, this has been put behind a
feature-flag, as whilegdbstub
doesn't claim a strict MSRV at this time,
it seemed unwise to have a PATCH release break folks stuck on a pre-1.81
Rust toolchain.
- Note: Out of an abundance of caution, this has been put behind a
0.7.2
0.7.1
New Protocol Extensions
LibrariesSvr4
- List an SVR4 (System-V/Unix) target's libraries. #142 (alexcrichton)
0.7.0
0.7
is a fairly minimal "cleanup" release, landing a collection of small breaking changes that collectively improve various ergonomic issues in gdbstub
's API.
The breaking changes introduced in 0.7
are generally trivial to fix, and I wager that porting from 0.6
to 0.7
shouldn't take more than ~10 minutes, at most.
As always, check out the transition guide for a rundown of key breaking changes to watch out for.
Cheers!
Breaking API Changes
stub::GdbStubError
is now an opaquestruct
with a handful of methods to extract user-defined context (as opposed to being anenum
that directly exposed all error internals to the user).- This change will enable future versions of
gdbstub
to fearlessly improve error messages and infrastructure without making semver breaking changes. See #112 for more.
- This change will enable future versions of
common::Signal
is not longer anenum
, and is instead astruct
with a singlepub u8
field + a collection of associated constants.- As a result, yet another instance of
unsafe
could be removed from the codebase!
- As a result, yet another instance of
Arch
API:- Entirely removed
single_step_behavior
. See #132 for details and rationale
- Entirely removed
Target
APIs:SingleThreadBase
/MultiThreadBase
read_addrs
now returns ausize
instead of a()
, allowing implementations to report cases where only a subset of memory could be read. #115 (geigerzaehler)
HostIo
Internal Improvements
- Reformatted codebase with nightly rustfmt using
imports_granularity = "Item"
0.6.6
0.6.5
New Protocol Extensions
ExtendedMode > CurrentActivePid
- Support reporting a non-default active PID #133- Required to fix
vAttach
behavior (see Bugfixes section below)
- Required to fix
Bugfixes
0.6.4
0.6.3
0.6.2
0.6.2
New Protocol Extensions
MultiThreadBase > ThreadExtraInfo
- Provide extra information per-thread. #106 (thefaxman)LldbRegisterInfo
- (LLDB specific) Report register information in the LLDB format. #103 (jawilk)- This information can be statically included as part of the
Arch
implemention, or dynamically reported via theLldbRegisterInfoOverride
IDET.
- This information can be statically included as part of the
Bugfixes
Internal Improvements
- Tweak enabled clippy lints
- Added a light dusting of
#[inline]
across the packet parsing code, crunching the code down even further - Expanded on "no-panic guarantee" docs