diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-03-24 02:07:07 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-03-24 02:07:07 +0000 |
commit | 17466c1a8a293601e687da937bd31a78115eaf63 (patch) | |
tree | 41aeda0157ca5e50154c6587b57fbc5dd28b91f0 /gdb/ada-lang.c | |
parent | 8008e2653ff2b755fbe7dd61793201721cfdc535 (diff) | |
download | gdb-17466c1a8a293601e687da937bd31a78115eaf63.zip gdb-17466c1a8a293601e687da937bd31a78115eaf63.tar.gz gdb-17466c1a8a293601e687da937bd31a78115eaf63.tar.bz2 |
* ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before
trying to resolve the type qualification.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |