33 if (thread !=
nullptr)
35 PyErr_SetString (PyExc_RuntimeError,
"Could not find event thread");
44 gdb_assert (thread != NULL);
47 if (thread_event_obj == NULL)
55 return thread_event_obj;
thread_info * find_thread_ptid(inferior *inf, ptid_t ptid)
struct inferior * current_inferior(void)
gdbpy_ref create_event_object(PyTypeObject *py_type)
int evpy_add_attribute(PyObject *event, const char *name, PyObject *attr)
gdbpy_ref thread_to_thread_object(thread_info *thr)
gdb::ref_ptr< T, gdbpy_ref_policy< T > > gdbpy_ref
gdbpy_ref create_thread_event_object(PyTypeObject *py_type, PyObject *thread)
gdbpy_ref py_get_event_thread(ptid_t ptid)