gotools needs to be updated for compatibility with the debugger in the newest version of Ghidra
cvar-ga opened this issue · comments
Describe the bug
The newest version of Ghidra, 10.0.1, operates with a debugger. Ghidra fails to update registers upon state change with the current version of gotools.
Go version: go1.16.6
Target os: Linux
Ghidra version: 10.0.1
To Reproduce
Steps to reproduce the behavior:
- Unzip ghidra_9.1.2_PUBLIC_20200521_gotools.zip
- Update version number to 10.0.1 in extension.properties
- Re-zip
- Move zip file to $GHIDRA_DIR/Extensions/Ghidra
- Open Ghidra and install extension
- Load a Go binary into debugger
- Debug locally in GDB in VM
- Set breakpoint anywhere
- Click Resume
- The error "Trouble updating registers on state change" appears in Debug Console
Minimal source to reproduce
//none
Expected behavior
When I run the Go binary, I expect the register values to populate in the Registers tab, accessible when I click "Display Decompiler". Instead, no register updates, and each remain set to 0.
Additional context
N/A
I was able to reproduce this issue. But I can also reproduce the issue without the plugin. So I assume this is not an issue with the plugin but with Ghidra.