Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate debugger integration with psplink gdbserver #16

Open
kotcrab opened this issue Dec 5, 2021 · 3 comments
Open

Investigate debugger integration with psplink gdbserver #16

kotcrab opened this issue Dec 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@kotcrab
Copy link
Owner

kotcrab commented Dec 5, 2021

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 #15 (comment) ping @sajattack

@kotcrab kotcrab added the enhancement New feature or request label Dec 5, 2021
@sajattack
Copy link

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.

@archanox
Copy link

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.

@kotcrab
Copy link
Owner Author

kotcrab commented Sep 16, 2024

Ghidra 11.1 added new debugging API called Trace RMI (it's replacing the old one). It's worth rechecking how it behaves with psplink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants