From d071a26bbc15eff9beaa74baef98ffdf4ae2653d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 8 Nov 2012 19:38:43 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 14 ++++++++++++++ gdb/python/py-bpevent.c | 1 + gdb/python/py-continueevent.c | 1 + gdb/python/py-event.c | 1 + gdb/python/py-event.h | 1 - gdb/python/py-events.h | 1 - gdb/python/py-evts.c | 1 + gdb/python/py-exitedevent.c | 1 + gdb/python/py-newobjfileevent.c | 1 + gdb/python/py-signalevent.c | 1 + gdb/python/py-stopevent.c | 1 + gdb/python/py-threadevent.c | 1 + 12 files changed, 23 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e8ac090..64f0dd8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2012-11-08 Tom Tromey + + * 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. + 2012-11-08 Pierre Muller * update-web-ari.sh (print_heading): Add number of files 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 . */ +#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 . */ +#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 . */ +#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 . */ +#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 . */ +#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 . */ +#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 . */ +#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 . */ +#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 . */ +#include "defs.h" #include "py-event.h" /* thread events can either be thread specific or process wide. If gdb is -- 2.7.4