* python/py-events.h (gdb_py_events): Make it extern.
* python/py-evtregistry.c (gdb_py_events): Declare.
+2011-06-16 Tristan Gingold <gingold@adacore.com>
+
+ * python/py-events.h (gdb_py_events): Make it extern.
+ * python/py-evtregistry.c (gdb_py_events): Declare.
+
2011-06-16 Hui Zhu <teawater@gmail.com>
* remote.c (remote_trace_set_readonly_regions): Add check for
} events_object;
/* Python events singleton. */
-events_object gdb_py_events;
+extern events_object gdb_py_events;
extern eventregistry_object *create_eventregistry_object (void);
extern int evregpy_no_listeners_p (eventregistry_object *registry);
#include "command.h"
#include "py-events.h"
+events_object gdb_py_events;
+
static PyTypeObject eventregistry_object_type;
/* Implementation of EventRegistry.connect () -> NULL.