aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-event.h')
-rw-r--r--gdb/python/py-event.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h
index 56003e8..96be83b 100644
--- a/gdb/python/py-event.h
+++ b/gdb/python/py-event.h
@@ -68,9 +68,8 @@ extern gdbpy_ref<> create_event_object (PyTypeObject *py_type);
running in non-stop mode then the event is thread specific, otherwise
it is process wide.
This function returns the currently stopped thread in non-stop mode and
- Py_None otherwise. In each case it returns a borrowed reference. */
-extern PyObject *py_get_event_thread (ptid_t ptid)
- CPYCHECKER_RETURNS_BORROWED_REF;
+ Py_None otherwise. */
+extern gdbpy_ref<> py_get_event_thread (ptid_t ptid);
extern gdbpy_ref<> create_thread_event_object (PyTypeObject *py_type,
PyObject *thread);