From: Pierre Muller Date: Tue, 9 Mar 2010 17:12:40 +0000 (+0000) Subject: * python/python-internal.h: Include symtab.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cb74f47a17c0c8c4dcf475892f4b27e961d05f8;p=binutils-gdb.git * python/python-internal.h: Include symtab.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c555615100..9b8fd582641 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-03-09 Pierre Muller + + * python/python-internal.h: Include symtab.h. + 2010-03-09 Joel Brobecker Pierre Muller diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index c48c354adc2..e8fcfa9e7f6 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;