28 if (objfile_event == NULL)
34 py_objfile.get ()) < 0)
64 if (objfile_event ==
nullptr)
68 if (py_objfile ==
nullptr
70 py_objfile.get ()) < 0)
100 if (objfile_event == NULL)
106 py_progspace.get ()) < 0)
109 return objfile_event;
gdbpy_ref create_event_object(PyTypeObject *py_type)
int evpy_add_attribute(PyObject *event, const char *name, PyObject *attr)
int evpy_emit_event(PyObject *event, eventregistry_object *registry)
events_object gdb_py_events
bool evregpy_no_listeners_p(eventregistry_object *registry)
static gdbpy_ref create_new_objfile_event_object(struct objfile *objfile)
int emit_clear_objfiles_event(program_space *pspace)
static gdbpy_ref create_clear_objfiles_event_object(program_space *pspace)
int emit_new_objfile_event(struct objfile *objfile)
static gdbpy_ref create_free_objfile_event_object(struct objfile *objfile)
int emit_free_objfile_event(struct objfile *objfile)
gdbpy_ref objfile_to_objfile_object(struct objfile *objfile)
gdbpy_ref pspace_to_pspace_object(struct program_space *pspace)
gdb::ref_ptr< T, gdbpy_ref_policy< T > > gdbpy_ref