summaryrefslogtreecommitdiff
path: root/plugins/pyoida/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pyoida/plugin.c')
-rw-r--r--plugins/pyoida/plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pyoida/plugin.c b/plugins/pyoida/plugin.c
index 9bcec8e..64cf013 100644
--- a/plugins/pyoida/plugin.c
+++ b/plugins/pyoida/plugin.c
@@ -30,7 +30,7 @@
#include "analysis/binary.h"
-
+#include "debug/debugger.h"
@@ -556,7 +556,7 @@ static bool g_python_plugin_handle_debugger(const GPythonPlugin *plugin, GBinary
args = PyTuple_New(2);
- PyTuple_SetItem(args, 0, Py_None);
+ PyTuple_SetItem(args, 0, py_binary_debugger_from_c(debugger));
PyTuple_SetItem(args, 1, PyInt_FromLong(action));
value = run_python_method(plugin->instance, "handle_debugger", args);