aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
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/python/python-internal.h
parente13eedd5386562ae753f4b5d50bceb63692b1ac9 (diff)
downloadgdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.zip
gdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.tar.gz
gdb-9cb74f47a17c0c8c4dcf475892f4b27e961d05f8.tar.bz2
* python/python-internal.h: Include symtab.h.
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h6
1 files changed, 4 insertions, 2 deletions
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;