This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv/PATCH] Fix formatting issue in value_actual_type
- From: Don Breazeal <donb at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Tue, 29 Mar 2016 10:40:25 -0700
- Subject: [obv/PATCH] Fix formatting issue in value_actual_type
- Authentication-results: sourceware.org; auth=none
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