diff options
Diffstat (limited to 'gdb/python/py-disasm.c')
-rw-r--r-- | gdb/python/py-disasm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/python/py-disasm.c b/gdb/python/py-disasm.c index 2dabec0..6b19b55 100644 --- a/gdb/python/py-disasm.c +++ b/gdb/python/py-disasm.c @@ -1019,7 +1019,7 @@ static struct PyModuleDef python_disassembler_module_def = /* Called to initialize the Python structures in this file. */ -int +static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_disasm () { /* Create the _gdb.disassembler module, and add it to the _gdb module. */ @@ -1053,6 +1053,10 @@ gdbpy_initialize_disasm () return 0; } +GDBPY_INITIALIZE_FILE (gdbpy_initialize_disasm); + + + /* Describe the gdb.disassembler.DisassembleInfo type. */ PyTypeObject disasm_info_object_type = { |