diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c index 589e03b1496..e240c7add07 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1873,6 +1873,7 @@ value_primitive_field (struct value *arg1, int offset, CHECK_TYPEDEF (arg_type); type = TYPE_FIELD_TYPE (arg_type, fieldno); + type = check_typedef (type); /* Handle packed fields */ |