Ghidra is a software reverse engineering (SRE) framework
GP-0: broken in 5120
d-millareced291c6e2e
diff --git a/Ghidra/Debug/Debugger-agent-gdb/src/main/py/src/ghidragdb/hooks.py b/Ghidra/Debug/Debugger-agent-gdb/src/main/py/src/ghidragdb/hooks.pyindex 7469e5f1b6..9910c3e5ca 100644--- a/Ghidra/Debug/Debugger-agent-gdb/src/main/py/src/ghidragdb/hooks.py+++ b/Ghidra/Debug/Debugger-agent-gdb/src/main/py/src/ghidragdb/hooks.py@@ -281,7 +281,7 @@ def on_register_changed(event):@log_errorsdef on_cont(event):- if event.inferior_thread is None:+ if gdb.selected_thread() is None:# thread-based state computed in record_continued will# fail in some versions of gdb because the current_thread is None# and gdb fails to test for None before switching