commit ea9cdacd4022903b97221693da360f4020ee9998 Author: Joel Brobecker Date: Mon Mar 23 17:10:05 2009 -0700 Fix the handling of type qualification... * ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before trying to resolve the type qualification. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index f257fb3..6fa4cfa 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: