[obv/PATCH] Fix formatting issue in value_actual_type
Don Breazeal
donb@codesourcery.com
Tue Mar 29 17:40:00 GMT 2016
I've pushed this patch, which fixes a trivial formatting issue.
2016-03-29 Don Breazeal <donb@codesourcery.com>
* gdb/value.c (value_actual_type): Fix formatting issue.
---
gdb/value.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
{
--
1.8.1.1
More information about the Gdb-patches
mailing list