headcrab icon indicating copy to clipboard operation
headcrab copied to clipboard

Add GDB Remote Protocol Target [WIP]

Open JJendryka opened this issue 4 years ago • 2 comments

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

  • [x] Encoding packets
  • [ ] Decoding packets
  • [ ] Reading registers
  • [ ] Writing registers
  • [ ] Reading memory
  • [ ] Writing memory
  • [ ] Breakpoints -...

JJendryka avatar Aug 23 '20 18:08 JJendryka

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.

luser avatar Dec 02 '20 14:12 luser

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

khuey avatar Dec 14 '20 03:12 khuey