From: Don Breazeal Date: Tue, 29 Mar 2016 17:27:43 +0000 (-0700) Subject: 2016-03-29 Don Breazeal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=444bca650a302ae800bd7e7d3fba50e072f555df;p=binutils-gdb.git 2016-03-29 Don Breazeal * gdb/value.c (value_actual_type): Fix formatting issue. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32a3f779cb3..d0f8e7f6bb6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-03-29 Don Breazeal + + * gdb/value.c (value_actual_type): Fix formatting issue. + 2016-03-24 Yao Qi * gdb.reverse/break-reverse.exp: Add quotation mark in the diff --git a/gdb/value.c b/gdb/value.c index 738b2b27b5c..8268b0860ba 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1203,7 +1203,7 @@ value_actual_type (struct value *value, int resolve_simple_types, /* If result's target type is TYPE_CODE_STRUCT, proceed to fetch its rtti type. */ if ((TYPE_CODE (result) == TYPE_CODE_PTR - || TYPE_CODE (result) == TYPE_CODE_REF) + || TYPE_CODE (result) == TYPE_CODE_REF) && TYPE_CODE (check_typedef (TYPE_TARGET_TYPE (result))) == TYPE_CODE_STRUCT) {