34 PyObject *thread = NULL;
43 PyErr_SetString (PyExc_RuntimeError,
"Could not find event thread");
54 if (thread_event_obj == NULL)
69 return thread_event_obj;
#define CPYCHECKER_RETURNS_BORROWED_REF
int evpy_add_attribute(PyObject *event, const char *name, PyObject *attr)
thread_object * find_thread_object(ptid_t ptid)
gdbpy_ref create_thread_event_object(PyTypeObject *py_type, PyObject *thread)
gdbpy_ref create_event_object(PyTypeObject *py_type)
static PyObject * get_event_thread(void)