diff options
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 9e2dc82..5d5c22b 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -596,7 +596,7 @@ exp : SIZEOF '(' type ')' %prec UNARY write_exp_elt_type (pstate, parse_type (pstate)->builtin_int); current_type = parse_type (pstate)->builtin_int; - CHECK_TYPEDEF ($3); + $3 = check_typedef ($3); write_exp_elt_longcst (pstate, (LONGEST) TYPE_LENGTH ($3)); write_exp_elt_opcode (pstate, OP_LONG); } |