diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-03-24 02:08:23 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-03-24 02:08:23 +0000 |
commit | 390ac7259731cdf469ea739345e64d3a7d248818 (patch) | |
tree | 72f232469d050fe409a4b2dd0875da284008adec /gdb/ada-exp.y | |
parent | 9533c58c4b0c692975a4b97267222ad002364a29 (diff) | |
download | gdb-390ac7259731cdf469ea739345e64d3a7d248818.tar.gz |
* ada-exp.y (get_symbol_field_type): Make sure to resolve typedefs
before looking up the fields inside our struct type.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 0da0caac1cd..ee0fcf3ba2a 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1207,6 +1207,7 @@ get_symbol_field_type (struct symbol *sym, char *encoded_field_name) if (type == NULL || field_name == NULL) return NULL; + type = check_typedef (type); while (field_name[0] != '\0') { |