aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-08 19:38:43 +0000
committerTom Tromey <tromey@redhat.com>2012-11-08 19:38:43 +0000
commitd071a26bbc15eff9beaa74baef98ffdf4ae2653d (patch)
treebcca53aad762c3100bdd4562f7848c822edc3a8c /gdb/python
parentc266cd02906e7e066645c4314bca670fabe5be90 (diff)
downloadgdb-d071a26bbc15eff9beaa74baef98ffdf4ae2653d.zip
gdb-d071a26bbc15eff9beaa74baef98ffdf4ae2653d.tar.gz
gdb-d071a26bbc15eff9beaa74baef98ffdf4ae2653d.tar.bz2
* python/py-bpevent.c: Include defs.h.
* python/py-continueevent.c: Include defs.h. * python/py-event.c: Include defs.h. * python/py-event.h: Don't include defs.h. * python/py-events.h: Don't include defs.h. * python/py-evts.c: Include defs.h. * python/py-exitedevent.c: Include defs.h. * python/py-newobjfileevent.c: Include defs.h. * python/py-signalevent.c: Include defs.h. * python/py-stopevent.c: Include defs.h. * python/py-threadevent.c: Include defs.h.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/py-bpevent.c1
-rw-r--r--gdb/python/py-continueevent.c1
-rw-r--r--gdb/python/py-event.c1
-rw-r--r--gdb/python/py-event.h1
-rw-r--r--gdb/python/py-events.h1
-rw-r--r--gdb/python/py-evts.c1
-rw-r--r--gdb/python/py-exitedevent.c1
-rw-r--r--gdb/python/py-newobjfileevent.c1
-rw-r--r--gdb/python/py-signalevent.c1
-rw-r--r--gdb/python/py-stopevent.c1
-rw-r--r--gdb/python/py-threadevent.c1
11 files changed, 9 insertions, 2 deletions
diff --git a/gdb/python/py-bpevent.c b/gdb/python/py-bpevent.c
index 8e4afe4..fb81d30 100644
--- a/gdb/python/py-bpevent.c
+++ b/gdb/python/py-bpevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-stopevent.h"
static PyTypeObject breakpoint_event_object_type;
diff --git a/gdb/python/py-continueevent.c b/gdb/python/py-continueevent.c
index 2a1524e..7e16c3b 100644
--- a/gdb/python/py-continueevent.c
+++ b/gdb/python/py-continueevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-event.h"
static PyTypeObject continue_event_object_type;
diff --git a/gdb/python/py-event.c b/gdb/python/py-event.c
index 7c88fcd..793f52c 100644
--- a/gdb/python/py-event.c
+++ b/gdb/python/py-event.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-event.h"
void
diff --git a/gdb/python/py-event.h b/gdb/python/py-event.h
index e54c17a..aea1b57 100644
--- a/gdb/python/py-event.h
+++ b/gdb/python/py-event.h
@@ -20,7 +20,6 @@
#ifndef GDB_PY_EVENT_H
#define GDB_PY_EVENT_H
-#include "defs.h"
#include "py-events.h"
#include "command.h"
#include "python-internal.h"
diff --git a/gdb/python/py-events.h b/gdb/python/py-events.h
index dbf2394..86a6d69 100644
--- a/gdb/python/py-events.h
+++ b/gdb/python/py-events.h
@@ -20,7 +20,6 @@
#ifndef GDB_PY_EVENTS_H
#define GDB_PY_EVENTS_H
-#include "defs.h"
#include "command.h"
#include "python-internal.h"
#include "inferior.h"
diff --git a/gdb/python/py-evts.c b/gdb/python/py-evts.c
index 38cd128..644857d 100644
--- a/gdb/python/py-evts.c
+++ b/gdb/python/py-evts.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-events.h"
/* Initialize python events. */
diff --git a/gdb/python/py-exitedevent.c b/gdb/python/py-exitedevent.c
index d062f5f..d9aa95f 100644
--- a/gdb/python/py-exitedevent.c
+++ b/gdb/python/py-exitedevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-event.h"
static PyTypeObject exited_event_object_type;
diff --git a/gdb/python/py-newobjfileevent.c b/gdb/python/py-newobjfileevent.c
index 46b26ab..749dced 100644
--- a/gdb/python/py-newobjfileevent.c
+++ b/gdb/python/py-newobjfileevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-event.h"
static PyTypeObject new_objfile_event_object_type;
diff --git a/gdb/python/py-signalevent.c b/gdb/python/py-signalevent.c
index 40da31a..b7fd9d2 100644
--- a/gdb/python/py-signalevent.c
+++ b/gdb/python/py-signalevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-stopevent.h"
static PyTypeObject signal_event_object_type;
diff --git a/gdb/python/py-stopevent.c b/gdb/python/py-stopevent.c
index d351915..6e243f9 100644
--- a/gdb/python/py-stopevent.c
+++ b/gdb/python/py-stopevent.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-stopevent.h"
PyObject *
diff --git a/gdb/python/py-threadevent.c b/gdb/python/py-threadevent.c
index d513945..a735a0a 100644
--- a/gdb/python/py-threadevent.c
+++ b/gdb/python/py-threadevent.c
@@ -15,6 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
#include "py-event.h"
/* thread events can either be thread specific or process wide. If gdb is