aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-03-09 17:12:40 +0000
committerPierre Muller <muller@sourceware.org>2010-03-09 17:12:40 +0000
commit9cb74f47a17c0c8c4dcf475892f4b27e961d05f8 (patch)
treee2c55ce31a5ea2522f35c1727ca1f9d1d61100ae /gdb
parente13eedd5386562ae753f4b5d50bceb63692b1ac9 (diff)
downloadgdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.zip
gdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.tar.gz
gdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.tar.bz2
* python/python-internal.h: Include symtab.h.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/python/python-internal.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9c55561..9b8fd58 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-09 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * python/python-internal.h: Include symtab.h.
+
2010-03-09 Joel Brobecker <brobecker@adacore.com>
Pierre Muller <muller@ics.u-strasbg.fr>
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index c48c354..e8fcfa9 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -61,9 +61,11 @@ typedef int Py_ssize_t;
#define PyEval_ReleaseLock() 0
#endif
+/* In order to be able to parse symtab_and_line_to_sal_object function
+ a real symtab_and_line structure is needed. */
+#include "symtab.h"
+
struct block;
-struct symbol;
-struct symtab_and_line;
struct value;
struct language_defn;