1All notable changes to this project will be documented in this file. 2 3This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 4 5# 0.7.2 6 7#### Bugfixes 8 9- Add workaround for vCont packets that specify a '0' (Any) thread-id 10 - For more context, see [`e9a5296c`](https://github.com/daniel5151/gdbstub/commit/e9a5296c4d02f4b5b73d5738654a33d01afa8711) 11 12#### Internal Improvements 13 14- Various README tweaks 15- Various clippy lint fixes 16- Fix incorrect valid-addr check in armv4t example 17 18# 0.7.1 19 20#### New Protocol Extensions 21 22- `LibrariesSvr4` - List an SVR4 (System-V/Unix) target's libraries. [\#142](https://github.com/daniel5151/gdbstub/pull/142) ([alexcrichton](https://github.com/alexcrichton)) 23 24# 0.7.0 25 26#### Breaking API Changes 27 28- `stub::GdbStubError` is now an opaque `struct` with a handful of methods to extract user-defined context (as opposed to being an `enum` that directly exposed all error internals to the user). 29 - _This change will enable future versions of `gdbstub` to fearlessly improve error messages and infrastructure without making semver breaking changes. See [\#112](https://github.com/daniel5151/gdbstub/pull/132) for more._ 30- `common::Signal` is not longer an `enum`, and is instead a `struct` with a single `pub u8` field + a collection of associated constants. 31 - _As a result, yet another instance of `unsafe` could be removed from the codebase!_ 32- `Arch` API: 33 - Entirely removed `single_step_behavior`. See [\#132](https://github.com/daniel5151/gdbstub/pull/132) for details and rationale 34- `Target` APIs: 35 - `SingleThreadBase`/`MultiThreadBase` 36 - `read_addrs` now returns a `usize` instead of a `()`, allowing implementations to report cases where only a subset of memory could be read. [\#115](https://github.com/daniel5151/gdbstub/pull/115) ([geigerzaehler](https://github.com/geigerzaehler)) 37 - `HostIo` 38 - `bitflags` has been updated from `1.x` to `2.x`, affecting the type of `HostIoOpenFlags` and `HostIoOpenMode` [\#138](https://github.com/daniel5151/gdbstub/pull/138) ([qwandor](https://github.com/qwandor)) 39 40#### Internal Improvements 41 42- Reformatted codebase with nightly rustfmt using `imports_granularity = "Item"` 43 44# 0.6.6 45 46#### New Features 47 48- `Target::use_no_ack_mode` - toggle support for for activating "no ack mode" [\#135](https://github.com/daniel5151/gdbstub/pull/135) ([bet4it](https://github.com/bet4it)) 49 50# 0.6.5 51 52#### New Protocol Extensions 53 54- `ExtendedMode > CurrentActivePid` - Support reporting a non-default active PID [\#133](https://github.com/daniel5151/gdbstub/pull/129) 55 - Required to fix `vAttach` behavior (see Bugfixes section below) 56 57#### Bugfixes 58 59- Fix for targets with no active threads [\#127](https://github.com/daniel5151/gdbstub/pull/127) ([xobs](https://github.com/xobs)) 60- Fix `vAttach` behavior when switching between multiple processes [\#129](https://github.com/daniel5151/gdbstub/pull/129) ([xobs](https://github.com/xobs)), and [\#133](https://github.com/daniel5151/gdbstub/pull/129) 61- Minor doc fixes 62 63# 0.6.4 64 65#### Bugfixes 66 67- Avoid truncating `X` packets that contain `:` and `,` as part of the payload. [\#121](https://github.com/daniel5151/gdbstub/pull/121) ([709924470](https://github.com/709924470)) 68 69#### Internal Improvements 70 71- Various README tweaks 72- Remove some `unsafe` code 73- CI improvements 74 - Run no-panic checks on `example_no_std` 75 - Run CI on docs 76 77# 0.6.3 78 79#### New Features 80 81- `SingleRegisterAccess`: Support reporting unavailable regs [\#107](https://github.com/daniel5151/gdbstub/pull/107) ([ptosi](https://github.com/ptosi)) 82 83# 0.6.2 84 85#### New Protocol Extensions 86 87- `MultiThreadBase > ThreadExtraInfo` - Provide extra information per-thread. [\#106](https://github.com/daniel5151/gdbstub/pull/106) ([thefaxman](https://github.com/thefaxman)) 88- `LldbRegisterInfo` - (LLDB specific) Report register information in the LLDB format. [\#103](https://github.com/daniel5151/gdbstub/pull/103) ([jawilk](https://github.com/jawilk)) 89 - This information can be statically included as part of the `Arch` implemention, or dynamically reported via the `LldbRegisterInfoOverride` IDET. 90 91#### Bugfixes 92 93- Report thread ID in response to `?` packet. [\#105](https://github.com/daniel5151/gdbstub/pull/105) ([thefaxman](https://github.com/thefaxman)) 94 95#### Internal Improvements 96 97- Tweak enabled clippy lints 98- Added a light dusting of `#[inline]` across the packet parsing code, crunching the code down even further 99- Expanded on "no-panic guarantee" docs 100 101# 0.6.1 102 103#### New Features 104 105- add LLDB-specific HostIoOpenFlags [\#100](https://github.com/daniel5151/gdbstub/pull/100) ([mrk](https://github.com/mrk-its)) 106 107# 0.6.0 108 109After over a half-year of development, `gdbstub` 0.6 has finally been released! 110 111This massive release delivers a slew of new protocol extensions, internal improvements, and key API improvements. Some highlights include: 112 113- A new _non-blocking_ `GdbStubStateMachine` API, enabling `gdbstub` to integrate nicely with async event loops! 114 - Moreover, on `no_std` platforms, this new API enables `gdbstub` to be driven directly via breakpoint/serial interrupt handlers! 115 - This API is already being used in several Rust kernel projects, such as [`vmware-labs/node-replicated-kernel`](https://github.com/vmware-labs/node-replicated-kernel/tree/4326704/kernel/src/arch/x86_64/gdb) and [`betrusted-io/xous-core`](https://github.com/betrusted-io/xous-core/blob/7d3d710/kernel/src/debug/gdb_server.rs) to enable bare-metal, in-kernel debugging. 116- `gdbstub` is now entirely **panic free** in release builds! 117 - \* subject to `rustc`'s compiler optimizations 118 - This was a pretty painstaking effort, but the end result is a substantial reduction in binary size on `no_std` platforms. 119- Tons of new and exciting protocol extensions, including but not limited to: 120 - Support for remote file I/O (reading/writing files to the debug target) 121 - Fetching remote memory maps 122 - Catching + reporting syscall entry/exit conditions 123 - ...and many more! 124- A new license: `gdbstub` is licensed under MIT OR Apache-2.0 125 126See the [changelog](https://github.com/daniel5151/gdbstub/blob/dev/0.6/CHANGELOG.md) for a comprehensive rundown of all the new features. 127 128While this release does come with quite a few breaking changes, the core IDET-based `Target` API has remained much the same, which should make porting code over from 0.5.x to 0.6 pretty mechanical. See the [`transition_guide.md`](./docs/transition_guide.md) for guidance on upgrading from `0.5.x` to `0.6`. 129 130And as always, a huge shoutout to the folks who contributed PRs, Issues, and ideas to `gdbstub` - this release wouldn't have been possible without you! Special shoutouts to [gz](https://github.com/gz) and [xobs](https://github.com/xobs) for helping me test and iterate on the new bare-metal state machine API, and [bet4it](https://github.com/bet4it) for pointing out and implementing many useful API improvements and internal refactors. 131 132Cheers! 133 134#### New Features 135 136- The new `GdbStubStateMachine` API gives users the power and flexibility to integrate `gdbstub` into their project-specific event loop infrastructure. 137 - e.g: A global instance of `GdbStubStateMachine` can be driven directly from bare-metal interrupt handlers in `no_std` environments 138 - e.g: A project using `async`/`await` can wrap `GdbStubStateMachine` in a task, yielding execution while waiting for the target to resume / new data to arrive down the `Connection` 139- Removed all panicking code from `gdbstub` 140 - See the [commit message](https://github.com/daniel5151/gdbstub/commit/ecbbaf72e01293b410ef3bc5970d18aa81e45599) for more details on how this was achieved. 141- Introduced strongly-typed enum for protocol defined signal numbers (instead of using bare `u8`s) 142- Added basic feature negotiation to support clients that don't support `multiprocess+` extensions. 143- Relicensed `gdbstub` under MIT OR Apache-2.0 [\#68](https://github.com/daniel5151/gdbstub/pull/68) 144- Added several new "guard rails" to avoid common integration footguns: 145 - `Target::guard_rail_implicit_sw_breakpoints` - guards against the GDB client silently overriding target instructions with breakpoints if `SwBreakpoints` hasn't been implemented. 146 - `Target::guard_rail_single_step_gdb_behavior` - guards against a GDB client bug where support for single step may be required / ignored on certain platforms (e.g: required on x86, ignored on MIPS) 147- Added several new "toggle switches" to enable/disable parts of the protocol (all default to `true`) 148 - `Target::use_x_upcase_packet` - toggle support for the more efficient `X` memory write packet 149 - `Target::use_resume_stub` - toggle `gdbstub`'s built-in "stub" resume handler that returns `SIGRAP` if a target doesn't implement support for resumption 150 - `Target::use_rle` - toggle whether outgoing packets are Run Length Encoded (RLE) 151 152#### New Protocol Extensions 153 154- `MemoryMap` - Get memory map XML file from the target. [\#54](https://github.com/daniel5151/gdbstub/pull/54) ([Tiwalun](https://github.com/Tiwalun)) 155- `CatchSyscalls` - Enable and disable catching syscalls from the inferior process. [\#57](https://github.com/daniel5151/gdbstub/pull/57) ([mchesser](https://github.com/mchesser)) 156- `HostIo` - Perform I/O operations on host. [\#66](https://github.com/daniel5151/gdbstub/pull/66) ([bet4it](https://github.com/bet4it)) 157 - Support for all Host I/O operations: `open`, `close`, `pread`, `pwrite`, `fstat`, `unlink`, `readlink`, `setfs` 158- `ExecFile` - Get full absolute path of the file that was executed to create a process running on the remote system. [\#69](https://github.com/daniel5151/gdbstub/pull/69) ([bet4it](https://github.com/bet4it)) 159- `Auxv` - Access the target’s auxiliary vector. [\#86](https://github.com/daniel5151/gdbstub/pull/86) ([bet4it](https://github.com/bet4it)) 160- Implement `X` packet - More efficient bulk-write to memory (superceding the `M` packet). [\#82](https://github.com/daniel5151/gdbstub/pull/82) ([gz](https://github.com/gz)) 161 162#### Breaking API Changes 163 164- `Connection` API: 165 - Removed the `read` and `peek` methods from `Connection` 166 - These have been moved to the new `ConnectionExt` trait, which is used in the new `GdbStub::run_blocking` API 167- `Arch` API: 168 - Dynamic read_register + RegId support. [\#85](https://github.com/daniel5151/gdbstub/pull/85) ([bet4it](https://github.com/bet4it)) 169- `Target` APIs: 170 - prefix all IDET methods with `support_` 171 - _makes it far easier to tell at-a-glance whether a method is an IDET, or an actual handler method. 172 - Introduce strongly-typed enum for protocol defined signal numbers (instead of using bare `u8`s) 173 - `Base` API: 174 - Make single-stepping optional [\#92](https://github.com/daniel5151/gdbstub/pull/92) 175 - Remove `GdbInterrupt` type (interrupt handling lifted to higher-level APIs) 176 - Remove `ResumeAction` type (in favor of separate methods for various resume types) 177 - `Breakpoints` API: 178 - `HwWatchpoint`: Plumb watchpoint `length` parameter to public API 179 - `TargetXml` API: 180 - Support for `<xi:include>` in target.xml, which required including the `annex` parameter in the handler method. 181 - `annex` is set to `b"target.xml"` on the fist call, though it may be set to other values in subsequent calls if `<xi:include>` is being used. 182 - Pass `PacketBuf`-backed `&mut [u8]` as a response buffer to various APIs [\#72](https://github.com/daniel5151/gdbstub/pull/72) ([bet4it](https://github.com/bet4it)) 183 - Improvement over the callback-based approach. 184 - This change is possible thanks to a clause in the GDB spec that specifies that responses will never exceed the size of the `PacketBuf`. 185 - Also see [\#70](https://github.com/daniel5151/gdbstub/pull/70), which tracks some other methods that might be refactored to use this approach in the future. 186 187#### Internal Improvements 188 189- Documentation 190 - Fix crates.io badges [\#71](https://github.com/daniel5151/gdbstub/pull/71) ([atouchet](https://github.com/atouchet)) 191 - Add `uhyve` to real-world examples [\#73](https://github.com/daniel5151/gdbstub/pull/73) ([mkroening](https://github.com/mkroening)) 192- Use stable `clippy` in CI 193- Enable logging for responses with only alloc [\#78](https://github.com/daniel5151/gdbstub/pull/78) ([gz](https://github.com/gz)) 194- Lots of internal refactoring and cleanup 195 196# 0.5.0 197 198While the overall structure of the API has remained the same, `0.5.0` does introduce a few breaking API changes that require some attention. That being said, it should not be a difficult migration, and updating to `0.5.0` from `0.4` shouldn't take more than 10 mins of refactoring. 199 200Check out [`transition_guide.md`](./docs/transition_guide.md) for guidance on upgrading from `0.4.x` to `0.5`. 201 202#### New Features 203 204- Implement Run-Length-Encoding (RLE) on outgoing packets 205 - _This significantly cuts down on the data being transferred over the wire when reading from registers/memory_ 206- Add target-specific `kind: Arch::BreakpointKind` parameters to the Breakpoint API 207 - _While emulated systems typically implement breakpoints by pausing execution once the PC hits a certain value, "real" systems typically need to patch the instruction stream with a breakpoint instruction. On systems with variable-sized instructions, this `kind` parameter specifies the size of the instruction that should be injected._ 208- Implement `ResumeAction::{Step,Continue}WithSignal` 209- Added the `Exited(u8)`, `Terminated(u8)`, and `ReplayLog("begin"|"end")` stop reasons. 210- Added `DisconnectReason::Exited(u8)` and `DisconnectReason::Terminated(u8)`. 211- Reworked the `MultiThreadOps::resume` API to be significantly more ergonomic and efficient 212 - See the [transition guide](https://github.com/daniel5151/gdbstub/blob/master/docs/transition_guide.md#new-multithreadopsresume-api) for more details. 213 214#### New Protocol Extensions 215 216- `{Single,Multi}ThreadReverse{Step,Continue}` - Support for reverse-step and reverse-continue. [\#48](https://github.com/daniel5151/gdbstub/pull/48 ) ([DrChat](https://github.com/DrChat)) 217- `{Single,Multi}ThreadRangeStepping` - Optional optimized [range stepping](https://sourceware.org/gdb/current/onlinedocs/gdb/Continuing-and-Stepping.html#range-stepping) support. 218 219#### Breaking Arch Changes 220 221- **`gdbstub::arch` has been moved into a separate `gdbstub_arch` crate** 222 - _See [\#45](https://github.com/daniel5151/gdbstub/issues/45) for details on why this was done._ 223- (x86) Break GPRs & SRs into individual fields/variants [\#34](https://github.com/daniel5151/gdbstub/issues/34) 224 225#### Breaking API Changes 226 227- Base Protocol Refactors 228 - Reworked the `MultiThreadOps::resume` API 229 - Added a wrapper around the raw `check_gdb_interrupt` callback, hiding the underlying implementation details 230 - Extracted base protocol single-register access methods (`{read,write}_register`) into separate `SingleRegisterAccess` trait 231 - _These are optional GDB protocol methods, and as such, should be modeled as IDETs_ 232- Protocol Extension Refactors 233 - Consolidated the `{Hw,Sw}Breakpoints/Watchpoints` IDETs under a single `Breakpoints` IDET + sub-IDETs 234 - Added new arch-specific `kind: Arch::BreakpointKind` parameter to `add_{hw,sw}_breakpoint` methods 235 - Renamed `target::ext::extended_mod::ConfigureASLR{Ops}` to `ConfigureAslr{Ops}` (clippy::upper_case_acronyms) 236- Added `{Step,Continue}WithSignal` variants to `target::ext::base::ResumeAction` 237- Trait Changes 238 - `arch::Arch`: Added `type BreakpointKind`. Required to support arch-specific breakpoint kinds 239 - `arch::Arch`: (very minor) Added [`num_traits::FromPrimitive`](https://docs.rs/num/0.4.0/num/traits/trait.FromPrimitive.html) bound to `Arch::Usize` 240 - `arch::Registers`: Added `type ProgramCounter` and associated `fn pc(&self) -> Self::ProgramCounter` method. Added preemptively in anticipation of future GDB Agent support 241- Removed the `Halted` stop reason (more accurate to simply return `{Exited|Terminated}(SIGSTOP)` instead). 242- Removed the `Halted` disconnect reason (replaced with the `Exited` and `Terminated` stop reasons instead). 243- Removed the implicit `ExtendedMode` attached PID tracking when `alloc` was available. See [`23b56038`](https://github.com/daniel5151/gdbstub/commit/23b56038) rationale behind this change. 244 245 246#### Internal Improvements 247 248- Split monolithic `GdbStubImpl` implementation into separate files (by protocol extension) 249- Finally rewrite + optimize `GdbStubImpl::do_vcont`, along with streamlining its interactions with the legacy `s` and `c` packets 250- Sprinkle more IDET-based dead code elimination hints (notably wrt. stop reasons) 251- Remove the default `self.current_mem_tid` hack, replacing it with a much more elegant solution 252- Packet Parser improvements 253 - Remove last remaining bit of UTF-8 related code 254 - Eliminate as much panicking bounds-checking code as possible 255 - support efficient parsing of packets that are parsed differently depending on active protocol extension (namely, the breakpoint packets) 256 - (currently unused) Zero-cost support for parsing `Z` and `z` packets with embedded agent bytecode expressions 257- Use intra-doc links whenever possible 258 259#### Bugfixes 260 261- Fix `RiscvRegId` for `arch::riscv::Riscv64` [\#46](https://github.com/daniel5151/gdbstub/issues/46) ([fzyz999](https://github.com/fzyz999)) 262 263# 0.4.5 264 265#### New Protocol Extensions 266 267- `TargetDescriptionXmlOverride` - Allow targets to override the target description XML file (`target.xml`) specified by `Target::Arch::target_description_xml`. This is useful in cases where a `Target` is expected to be generic over multiple architectures. [\#43](https://github.com/daniel5151/gdbstub/pull/43) (with help from [DrChat](https://github.com/DrChat)) 268 269# 0.4.4 270 271#### Bugfixes 272 273- use `write!` instead of `writeln!` in `output!` macro [\#41](https://github.com/daniel5151/gdbstub/issues/41) 274 275# 0.4.3 276 277#### New Arch Implementations 278 279- Implement `RegId` for Mips/Mips64 [\#38](https://github.com/daniel5151/gdbstub/pull/38) ([starfleetcadet75](https://github.com/starfleetcadet75)) 280- Implement `RegId` for MSP430 [\#38](https://github.com/daniel5151/gdbstub/pull/38) ([starfleetcadet75](https://github.com/starfleetcadet75)) 281 282# 0.4.2 283 284#### Packaging 285 286- Exclude test object files from package [\#37](https://github.com/daniel5151/gdbstub/pull/37) ([keiichiw](https://github.com/keiichiw)) 287 288# 0.4.1 289 290#### New Arch Implementations 291 292- Implement `RegId` for x86/x86_64 [\#34](https://github.com/daniel5151/gdbstub/pull/34) ([keiichiw](https://github.com/keiichiw)) 293 294#### Bugfixes 295 296- Switch fatal error signal from `T06` to `S05`, 297- specify cfg-if 0.1.10 or later [\#33](https://github.com/daniel5151/gdbstub/pull/33) ([keiichiw](https://github.com/keiichiw)) 298 - `cargo build` fails if cfg-if is 0.1.9 or older 299 300#### Internal Improvements 301 302- Don't hard-code u64 when parsing packets (use big-endian byte arrays + late conversion to `Target::Arch::Usize`). 303 304# 0.4.0 305 306This version includes a _major_ API overhaul, alongside a slew of new features and general improvements. While updating to `0.4.0` will require some substantial code modifications, it's well worth the effort, as `0.4.0` is the safest, leanest, and most featureful release of `gdbstub` yet! 307 308Fun fact: Even after adding a _bunch_ of new features and bug-fixes, the in-tree `example_no_std` has remained just as small! The example on the `semver-fix-0.2.2` branch is `20251` bytes, while the example on `0.4.0` is `20246` bytes. 309 310#### Breaking API Changes 311 312- Rewrite the `Target` API in terms of "Inlineable Dyn Extension Traits" (IDETs) 313 - _By breaking up `Target` into smaller pieces which can be mixed-and-matched, it not only makes it easier to get up-and-running with `gdbstub`, but it also unlocks a lot of awesome internal optimizations:_ 314 - Substantially reduces binary-size footprint by guaranteeing dead-code-elimination of parsing/handling unimplemented GDB protocol features. 315 - Compile-time enforcement that certain groups of methods are implemented in-tandem (e.g: `add_sw_breakpoint` and `remove_sw_breakpoint`). 316- Update the `Target` API with support for non-fatal error handling. 317 - _The old approach of only allowing \*fatal\* errors was woefully inadequate when dealing with potentially fallible operations such as reading from unauthorized memory (which GDB likes to do a bunch), or handling non-fatal `std::io::Error` that occur as a result of `ExtendedMode` operations. The new `TargetResult`/`TargetError` result is much more robust, and opens to door to supporting additional error handling extensions (such as LLDB's ASCII Errors)._ 318- Update the `Connection` trait with new methods (`flush` - required, `write_all`, `on_session_start`) 319- Lift `Registers::RegId` to `Arch::RegId`, and introduce new temporary `RegIdImpl` solution for avoiding breaking API changes due to new `RegId` implementations (see [\#29](https://github.com/daniel5151/gdbstub/pull/29)) 320- Mark various `RegId` enums as `#[non_exhaustive]`, allowing more registers to be added if need be. 321- Error types are now marked as `#[non_exhaustive]`. 322 323#### New Protocol Extensions 324 325- `ExtendedMode` - Allow targets to run new processes / attach to existing processes / restart execution. 326 - Includes support for `set disable-randomization`, `set environment`, `set startup-with-shell`, and `set cwd` and `cd`. 327- `SectionOffsets` - Get section/segment relocation offsets from the target. [\#30](https://github.com/daniel5151/gdbstub/pull/30) ([mchesser](https://github.com/mchesser)) 328 - Uses the `qOffsets` packet under-the-hood. 329 330#### Bugfixes 331 332- Fix issues related to selecting the incorrect thread after hitting a breakpoint in multi-threaded targets. 333- Ensure that `set_nodelay` is set when using a `TcpStream` as a `Connection` (via the new `Connection::on_session_start` API) 334 - _This should result in a noticeable performance improvement when debugging over TCP._ 335 336#### Internal Improvements 337 338- Removed `btou` dependency. 339- Removed all `UTF-8` aware `str` handling code. 340 - _GDB uses a pure ASCII protocol, so including code to deal with UTF-8 resulted in unnecessary binary bloat._ 341 342# 0.3.0 (formerly 0.2.2) 343 344This version contains a few minor breaking changes from `0.2.1`. These are only surface-level changes, and can be fixed with minimal effort. 345 346Version `0.3.0` is identical to the yanked version `0.2.2`, except that it adheres to `cargo`'s [modified SemVer rule](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field) which states that the pre-`0.x.y` breaking changes should still bump the minor version. 347 348Thanks to [h33p](https://github.com/h33p) for reporting this issue ([\#27](https://github.com/daniel5151/gdbstub/issues/27)) 349 350#### Breaking API Changes 351 352- Update `Target::resume` API to replace raw `&mut dyn Iterator` with a functionally identical concrete `Actions` iterator. 353- Mark the `StopReason` enum as `#[non_exhaustive]`, allowing further types to be added without being considered as an API breaking change. 354 355#### New Protocol Extensions 356 357- Add `Target::read/write_register` support (to support single register accesses) [\#22](https://github.com/daniel5151/gdbstub/pull/22) ([thomashk0](https://github.com/thomashk0)) 358- Add `StopReason::Signal(u8)` variant, to send arbitrary signal codes [\#19](https://github.com/daniel5151/gdbstub/pull/19) ([mchesser](https://github.com/mchesser)) 359 360#### New Arch Implementations 361 362- Add partial RISC-V support (only integer ISA at the moment) [\#21](https://github.com/daniel5151/gdbstub/pull/21) ([thomashk0](https://github.com/thomashk0)) 363- Add i386 (x86) support [\#23](https://github.com/daniel5151/gdbstub/pull/23) ([jamcleod](https://github.com/jamcleod)) 364- Add 32-bit PowerPC support [\#25](https://github.com/daniel5151/gdbstub/pull/25) ([jamcleod](https://github.com/jamcleod)) 365 366# 0.2.1 367 368#### New Arch Implementations 369 370- Add x86_64 support [\#11](https://github.com/daniel5151/gdbstub/pull/11) ([jamcleod](https://github.com/jamcleod)) 371- Add Mips and Mips64 support [\#13](https://github.com/daniel5151/gdbstub/pull/13) ([starfleetcadet75](https://github.com/starfleetcadet75)) 372 373#### Internal Improvements 374 375- Documentation improvements 376 - Document PC adjustment requirements in `Target::resume` 377 - Add docs on handling non-fatal invalid memory reads/writes in `Target::read/write_addrs`. 378 379# 0.2.0 380 381_start of changelog_ 382