diff options
Diffstat (limited to 'gdb/python/py-bpevent.c')
-rw-r--r-- | gdb/python/py-bpevent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/python/py-bpevent.c b/gdb/python/py-bpevent.c index b1df64e..abc9dba 100644 --- a/gdb/python/py-bpevent.c +++ b/gdb/python/py-bpevent.c @@ -20,7 +20,7 @@ #include "defs.h" #include "py-stopevent.h" -static PyTypeObject breakpoint_event_object_type +extern PyTypeObject breakpoint_event_object_type CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("event_object"); /* Create and initialize a BreakpointEvent object. This acquires new @@ -55,5 +55,4 @@ GDBPY_NEW_EVENT_TYPE (breakpoint, "gdb.BreakpointEvent", "BreakpointEvent", "GDB breakpoint stop event object", - stop_event_object_type, - static); + stop_event_object_type); |