Skip to content

Commit

Permalink
Update section_offsets documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 2, 2024
1 parent 8d4f1d3 commit 8d9998b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/target/ext/section_offsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
//! limited to reporting the offsets for code, data and bss, and is
//! generally considered a legacy feature.
//!
//! For System-V architectures GDB may use the `qXfer:libraries-svr4:read`
//! command to try to learn about loaded libraries and this can be implemented
//! with the [`LibrariesSvr4` trait](crate::target::ext::libraries::LibrariesSvr4).
//! Note that not all targets may query this and it may not be applicable in all
//! situations either.
//!
//! For targets where library offsets are maintained externally (e.g. Windows)
//! you should consider implementing the more flexible `qXfer:library:read`.
//! See issue [#20](https://github.com/daniel5151/gdbstub/issues/20) for more
Expand Down

0 comments on commit 8d9998b

Please sign in to comment.