diff options
Diffstat (limited to 'gdb/python/py-breakpoint.c')
-rw-r--r-- | gdb/python/py-breakpoint.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index 880f1b5..becb04c 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -1246,7 +1246,7 @@ gdbpy_breakpoint_modified (struct breakpoint *b) /* Initialize the Python breakpoint code. */ -int +static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_breakpoints (void) { int i; @@ -1286,7 +1286,7 @@ gdbpy_initialize_breakpoints (void) /* Initialize the Python BreakpointLocation code. */ -int +static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION gdbpy_initialize_breakpoint_locations () { if (PyType_Ready (&breakpoint_location_object_type) < 0) @@ -1450,6 +1450,9 @@ _initialize_py_breakpoint () &setdebuglist, &showdebuglist); } +GDBPY_INITIALIZE_FILE (gdbpy_initialize_breakpoints); +GDBPY_INITIALIZE_FILE (gdbpy_initialize_breakpoint_locations); + /* Python function to set the enabled state of a breakpoint location. */ static int |