diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-02-01 10:12:54 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-02-01 10:12:54 (GMT) |
commit | 0c847f961a99d8e8012beecad27cf4318df1ff88 (patch) | |
tree | e73689b844184f272267ae54ac27a6e826410478 /plugins/pyoida/plugin.c | |
parent | 14e82ed268cb78d62bbba93357fede5ece5c4f7d (diff) |
Provided a debug module for Python plugins using the PyGObject API.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@232 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pyoida/plugin.c')
-rw-r--r-- | plugins/pyoida/plugin.c | 4 |
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); |