Skip to content

Comments

Add GDB Remote Protocol Target [WIP]#93

Draft
JJendryka wants to merge 2 commits intoheadcrab-rs:masterfrom
JJendryka:gdb_protocol
Draft

Add GDB Remote Protocol Target [WIP]#93
JJendryka wants to merge 2 commits intoheadcrab-rs:masterfrom
JJendryka:gdb_protocol

Conversation

@JJendryka
Copy link
Contributor

Implements GDB Remote Serial Protocol Client. It will allow to use all already existing servers as debugging targets.

  • Encoding packets
  • Decoding packets
  • Reading registers
  • Writing registers
  • Reading memory
  • Writing memory
  • Breakpoints
    -...

@JJendryka JJendryka changed the title Add package encoding and sending Add GDB Remote Protocol Target [WIP] Aug 23, 2020
@luser
Copy link

luser commented Dec 2, 2020

FYI, I have a WIP GDB remote protocol implementation in Rust here: https://github.com/luser/rust-gdb-remote-protocol/
It's mostly focused on implementing the server side of the protocol, but it might be an interesting thing to try integrating because it'd let you punt on all of the debug information and unwinding bits for a while by letting gdb deal with all of that.

@khuey
Copy link

khuey commented Dec 14, 2020

Similarly you might find https://github.com/khuey/gdb-agent useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants