-
Notifications
You must be signed in to change notification settings - Fork 14
Using gdbstub
for the GDB Remote Serial Protocol
#7
Comments
Maybe I'm missing something obvious but I don't see any reverse anything documented at https://docs.rs/gdbstub/0.4.5/gdbstub/ |
Reverse execution support landed on the I'll be publishing a In the meantime, check out the CHANGELOG for a overview of what's coming down the pipeline. |
Thanks for reaching out @daniel5151 regarding Unfortunately, I didn't know about the The current gdb connection functionality seems to be working fine in I appreciate you reaching out to me. I'll keep an eye out for your project in the meanwhile and maybe even try to dive into it one day. Please feel free to play around with
you will be able to see detailed info on the serial protocol packets as they fly back and forth between gdb front-end and rd. I'm mentioning this in case you want to see this in action in |
Thanks for the quick response, and for taking the time to answer my questions! In any case, if you ever decide to revisit the GDB integration in Feel free to reach out if you've got questions about Best of luck with |
Cool! BTW if you every end up exploring rd and its gdb serial protocol code, a less noisy way to just see the gdb packets would be; $ RD_LOG=all:warn,gdb_connection:debug rd replay Instead of: $ RD_LOG=all rd replay which will be just too noisy. |
Hey there!
This is a totally shameless plug on my part, but I was wondering if you were aware of the gdbstub crate?
gdbstub
provides a generic, typesafe, and ergonomic Rust API for implementing GDB remote targets. It already implements quite a substantial chunk of the GDB RSP (including reverse execution!), and is being used by quite a few projects, both big and small.I wanted to open this issue for a couple reasons:
gdbstub
(after all, not that many folks implement the GDB RSP from scratch. There are dozens of us!)gdbstub
implementation that would make integrating it intord
an absolute non-starter**I can already tell that
gdbstub
is missing a couple protocol extensions (e.g: reading the target'sauxv
, some filesystem packets, fetching data from thread local storage), though these are all quite straightforward to implement.The text was updated successfully, but these errors were encountered: