diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-exp.y | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa9fcd3..d03cb2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2009-03-23 Joel Brobecker <brobecker@adacore.com> + * ada-exp.y (get_symbol_field_type): Make sure to resolve typedefs + before looking up the fields inside our struct type. + +2009-03-23 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before trying to resolve the type qualification. diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 0da0caa..ee0fcf3 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') { |