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/value.c | |
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/value.c')
-rw-r--r-- | gdb/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |