From 9cb74f47a17c0c8c4dcf475892f4b27e961d05f8 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 9 Mar 2010 17:12:40 +0000 Subject: [PATCH] * python/python-internal.h: Include symtab.h. --- gdb/ChangeLog | 4 ++++ gdb/python/python-internal.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.30.2