overdrivenpotato / rust-psp

Rust on PSP. Panic and allocation support. Access PSP system libraries.
Other
589 stars 31 forks source link

Figure out a debugging story #52

Closed overdrivenpotato closed 6 months ago

overdrivenpotato commented 4 years ago

psp-gdb somewhat works for now, but it is a hefty dependency as it requires the C toolchain to be compiled and installed. It also does not support printing Rust types.

sajattack commented 3 years ago

I tried updating to a modern GDB and uncovered the reason it doesn't work. PSPLink's GDB Server is missing some essential thread management packet commands. Specifically, 'Hc' or 'vCont' https://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html#vCont-packet

sajattack commented 6 months ago

Debugging is documented briefly in the readme and will soon be documented in the book. The psplink issues referred to above have been resolved.