ghidra-allegrex icon indicating copy to clipboard operation
ghidra-allegrex copied to clipboard

Investigate debugger integration with psplink gdbserver

Open kotcrab opened this issue 4 years ago • 3 comments

Ghidra Debugger has built-in support for GDB so it should just work assuming psplink has support for all the required features. The only additional thing this plugin could provide is the mapping offer for using Allegrex instead of built in MIPS for dynamic disassembly.

First step is to investigate if Ghidra can connect to psplink gdbserver.

Response to https://github.com/kotcrab/ghidra-allegrex/issues/15#issuecomment-986154742 ping @sajattack

kotcrab avatar Dec 05 '21 17:12 kotcrab

I tested it out quickly using "GADP connection over TCP" and it gave this error message:

Unanswered request cache size has settled to 1. Chances are something's gone wrong.

Seems like yet another reason to update the psplink gdbserver.

sajattack avatar Dec 05 '21 18:12 sajattack

I've confirmed that this does indeed work, but I'm encountering issues with setting breakpoints successfully. It's looking for a module to map to which does not appear in a retail game with no debug symbols, I believe.

I'm using the gdb over SSH option, with the path to psp-gdb defined during setup.

archanox avatar Mar 28 '23 16:03 archanox