aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-18 10:50:45 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-18 10:50:45 +0000
commitd9c57d9ff1bf3533ddb272717afe2b18f61dd017 (patch)
treefa9d1f53e3b6e885239c1f24754976ded6d0343c /gdb/python
parentf80d3ff275e070708f87ed2bc25fbf35b6e1b8cc (diff)
downloadgdb-d9c57d9ff1bf3533ddb272717afe2b18f61dd017.zip
gdb-d9c57d9ff1bf3533ddb272717afe2b18f61dd017.tar.gz
gdb-d9c57d9ff1bf3533ddb272717afe2b18f61dd017.tar.bz2
Fix build failure when building without Python support.
* python/python.c: Always include exceptions.h, even when HAVE_PYTHON is not defined.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 1f1ae72..29386c9 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -27,6 +27,7 @@
#include "observer.h"
#include "value.h"
#include "language.h"
+#include "exceptions.h"
#include <ctype.h>
@@ -45,7 +46,6 @@ static int gdbpy_auto_load = 1;
#include "cli/cli-decode.h"
#include "charset.h"
#include "top.h"
-#include "exceptions.h"
#include "python-internal.h"
#include "version.h"
#include "target.h"