NEW-UI using MI2 in GDB missing ? #8474
Replies: 1 comment
-
The MI2 stuff was removed, but the use case is still possible. SetupIf you have not already done so, you'll want to pip install our pip install ghidragdb==11.4 Then, start python import ghidragdb If that works, you're all set up! Move on to Use below. Otherwise, you may need to check what version of Python is embedded in gdb, and retry using something like: python3.12 -m pip install ghidragdb==11.4 A sort of clever way to accomplish this automatically is to use Ghidra's gdb via ssh connector to localhost. It'll figure the version stuff out and prompt you to install the package automatically. Once that works, try the Use
A good bit of background and troubleshooting in https://github.com/NationalSecurityAgency/ghidra/blob/master/GhidraDocs/GhidraClass/Debugger/B1-RemoteTargets.md is applicable here, even though your use case is not exactly the same. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I know there was a restructure of the debugging code some time ago and since then I have not been able to find how to connect to an existing session using MI2.
Was a great thing to have when you started a GDB session on your binary and then realized you actually wanted to bring it into Ghidra after some successful event.
Was this option removed or renamed and I missed it ?
EDIT:
To clarify. The option is not missing from GDB but I can't find the option to connect to existing session over MI2 in Ghidra since version 11.3 or so.
Beta Was this translation helpful? Give feedback.
All reactions