From d9c57d9ff1bf3533ddb272717afe2b18f61dd017 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 18 Jan 2010 10:50:45 +0000 Subject: [PATCH] Fix build failure when building without Python support. * python/python.c: Always include exceptions.h, even when HAVE_PYTHON is not defined. --- gdb/ChangeLog | 6 ++++++ gdb/python/python.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2eb2297be13..e45be319fcc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-01-18 Joel Brobecker + + Fix build failure when building without Python support. + * python/python.c: Always include exceptions.h, even when HAVE_PYTHON + is not defined. + 2010-01-18 Joel Brobecker Use XVS field type instead of doing a parallel lookup. diff --git a/gdb/python/python.c b/gdb/python/python.c index 1f1ae729fb3..29386c92053 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 @@ -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" -- 2.30.2