From: Joel Brobecker Date: Tue, 24 Mar 2009 02:07:07 +0000 (+0000) Subject: * ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before X-Git-Tag: sid-snapshot-20090401~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17466c1a8a293601e687da937bd31a78115eaf63;p=thirdparty%2Fbinutils-gdb.git * ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before trying to resolve the type qualification. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7754d6405dc..aa9fcd3db24 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-03-23 Joel Brobecker + + * ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before + trying to resolve the type qualification. + 2009-03-23 Joel Brobecker * ada-lang.c (ada_evaluate_subexp) [UNOP_IN_RANGE]: make sure diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index f257fb391fa..6fa4cfa4ec8 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -2654,7 +2654,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p, case UNOP_QUAL: *pos += 3; - resolve_subexp (expp, pos, 1, exp->elts[pc + 1].type); + resolve_subexp (expp, pos, 1, check_typedef (exp->elts[pc + 1].type)); break; case OP_ATR_MODULUS: