diff options
author | Don Breazeal <donb@codesourcery.com> | 2016-03-29 10:27:43 -0700 |
---|---|---|
committer | Don Breazeal <donb@codesourcery.com> | 2016-03-29 10:36:07 -0700 |
commit | 444bca650a302ae800bd7e7d3fba50e072f555df (patch) | |
tree | 96de7466f462a8f949427a016f06c0fc9e5abe21 /gdb | |
parent | 9885948fc910a77d04f27a7683f5edd0989d818a (diff) | |
download | gdb-444bca650a302ae800bd7e7d3fba50e072f555df.zip gdb-444bca650a302ae800bd7e7d3fba50e072f555df.tar.gz gdb-444bca650a302ae800bd7e7d3fba50e072f555df.tar.bz2 |
2016-03-29 Don Breazeal <donb@codesourcery.com>
* gdb/value.c (value_actual_type): Fix formatting issue.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/value.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32a3f77..d0f8e7f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-03-29 Don Breazeal <donb@codesourcery.com> + + * gdb/value.c (value_actual_type): Fix formatting issue. + 2016-03-24 Yao Qi <yao.qi@linaro.org> * gdb.reverse/break-reverse.exp: Add quotation mark in the diff --git a/gdb/value.c b/gdb/value.c index 738b2b2..8268b08 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) { |