aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorDon Breazeal <donb@codesourcery.com>2016-03-29 10:27:43 -0700
committerDon Breazeal <donb@codesourcery.com>2016-03-29 10:36:07 -0700
commit444bca650a302ae800bd7e7d3fba50e072f555df (patch)
tree96de7466f462a8f949427a016f06c0fc9e5abe21 /gdb/value.c
parent9885948fc910a77d04f27a7683f5edd0989d818a (diff)
downloadgdb-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.c2
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)
{