This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] 2016-03-29 Don Breazeal <donb at codesourcery dot com>
- From: Don Breazeal <donb at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 29 Mar 2016 17:38:20 -0000
- Subject: [binutils-gdb] 2016-03-29 Don Breazeal <donb at codesourcery dot com>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=444bca650a302ae800bd7e7d3fba50e072f555df
commit 444bca650a302ae800bd7e7d3fba50e072f555df
Author: Don Breazeal <donb@codesourcery.com>
Date: Tue Mar 29 10:27:43 2016 -0700
2016-03-29 Don Breazeal <donb@codesourcery.com>
* gdb/value.c (value_actual_type): Fix formatting issue.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/value.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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)
{