From: Joel Brobecker Date: Mon, 21 Dec 2009 13:18:20 +0000 (+0000) Subject: PR gdb/10884 X-Git-Tag: gdb_7_0_1-2009-12-22-release~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11912cd5189d558b62a952811fbdb5cee389a947;p=thirdparty%2Fbinutils-gdb.git PR gdb/10884 * value.c (value_primitive_field): Call check_typedef on the type. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b19a3a89354..29b684177a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2009-12-21 Vladimir Prus + + PR gdb/10884 + + * value.c (value_primitive_field): Call check_typedef + on the type. + 2009-12-21 Joel Brobecker * COPYING: Update to GPL version 3. 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 */