mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-16 07:27:56 +00:00
* ada-exp.y (get_symbol_field_type): Make sure to resolve typedefs
before looking up the fields inside our struct type.
This commit is contained in:
parent
17466c1a8a
commit
6cdd57f45d
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user