GDB (API)
Classes | Defines | Functions
/home/stan/gdb/src/gdb/python/py-event.h File Reference
#include "py-events.h"
#include "command.h"
#include "python-internal.h"
#include "inferior.h"

Go to the source code of this file.

Classes

struct  event_object

Defines

#define GDBPY_NEW_EVENT_TYPE(name, py_path, py_name, doc, base, qual)

Functions

int emit_continue_event (ptid_t ptid)
int emit_exited_event (const LONGEST *exit_code, struct inferior *inf)
int evpy_emit_event (PyObject *event, eventregistry_object *registry) CPYCHECKER_STEALS_REFERENCE_TO_ARG(1)
PyObjectcreate_event_object (PyTypeObject *py_type)
PyObjectcreate_thread_event_object (PyTypeObject *py_type)
int emit_new_objfile_event (struct objfile *objfile)
void evpy_dealloc (PyObject *self)
int evpy_add_attribute (PyObject *event, char *name, PyObject *attr) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION
int gdbpy_initialize_event_generic (PyTypeObject *type, char *name) CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION

Define Documentation

#define GDBPY_NEW_EVENT_TYPE (   name,
  py_path,
  py_name,
  doc,
  base,
  qual 
)

Definition at line 47 of file py-event.h.


Function Documentation

PyObject* create_event_object ( PyTypeObject *  py_type)

Definition at line 31 of file py-event.c.

PyObject* create_thread_event_object ( PyTypeObject *  py_type)

Definition at line 50 of file py-threadevent.c.

Definition at line 37 of file py-continueevent.c.

int emit_exited_event ( const LONGEST exit_code,
struct inferior inf 
)

Definition at line 71 of file py-exitedevent.c.

int emit_new_objfile_event ( struct objfile objfile)

Definition at line 56 of file py-newobjfileevent.c.

int evpy_add_attribute ( PyObject event,
char *  name,
PyObject attr 
)

Definition at line 56 of file py-event.c.

void evpy_dealloc ( PyObject self)

Definition at line 24 of file py-event.c.

int evpy_emit_event ( PyObject event,
eventregistry_object registry 
)

Definition at line 89 of file py-event.c.

int gdbpy_initialize_event_generic ( PyTypeObject *  type,
char *  name 
)

Definition at line 75 of file py-event.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines