epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.95k stars 86 forks source link

Add debug meta information between Seer and gdbserver #263

Open epasveer opened 3 weeks ago

epasveer commented 3 weeks ago

Look at #127 One thing that would be nice to have for tools debugging purposes would be to record the conversation between gdb and the stub for each command seer is outputting with timestamps. I am saying this because:

For reasons I didn't investigate, connection between seer and spice86 is very slow (I measured ~16 seconds) whereas it is instantaneous with the gdb command line.

As a gdbserver dev, I know this would have helped me a lot when investigating which command was not providing results gdb was expecting, or investigating timeouts and locks.

epasveer commented 1 day ago

Here's a good resource to enable gdbserver monitoring.

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Server.html#Other-Command_002dLine-Arguments-for-gdbserver