aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-07-06 19:03:12 +0000
committerTom Tromey <tromey@redhat.com>2010-07-06 19:03:12 +0000
commit11763c18565305217892e8e302eb55c7ced0cbcc (patch)
tree0ad607f5bc88007a6f3879ea83a8dc167f20f399 /gdb/python
parenta6cc4789c3221ece1816cb1264d737d438c51f00 (diff)
downloadgdb-11763c18565305217892e8e302eb55c7ced0cbcc.zip
gdb-11763c18565305217892e8e302eb55c7ced0cbcc.tar.gz
gdb-11763c18565305217892e8e302eb55c7ced0cbcc.tar.bz2
* configure, config.in: Rebuild.
* configure.ac (HAVE_LIBPYTHON2_7): New define. * python/python-internal.h: Handle HAVE_LIBPYTHON2_7.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/python-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index 630d191..2b8d301 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -50,6 +50,9 @@ typedef int Py_ssize_t;
#elif HAVE_LIBPYTHON2_6
#include "python2.6/Python.h"
#include "python2.6/frameobject.h"
+#elif HAVE_LIBPYTHON2_7
+#include "python2.7/Python.h"
+#include "python2.7/frameobject.h"
#else
#error "Unable to find usable Python.h"
#endif