Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-5542: bad annotation

d-millar7c7d2033426e
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.py
index f0596bd2e8..1f97bd0cb9 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
@@ -455,7 +455,7 @@ def on_breakpoint_deleted(b: gdb.Breakpoint) -> None:
@log_errors
-def on_before_prompt(n: None) -> object:
+def on_before_prompt() -> object:
HOOK_STATE.end_batch()
return None