From 0c6faab597cd4a4fc5cc61d312899fd143473d87 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 18 Oct 2013 02:09:57 +0000 Subject: [PATCH] gdb/ * c-varobj.c (cplus_number_of_children): Fix indentation. --- gdb/ChangeLog | 4 ++++ gdb/c-varobj.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d6200fa084..872838b2d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-10-18 Yao Qi + + * c-varobj.c (cplus_number_of_children): Fix indentation. + 2013-10-17 Tom Tromey PR gdb/15995: diff --git a/gdb/c-varobj.c b/gdb/c-varobj.c index 73e785c5e5..fbfc84527e 100644 --- a/gdb/c-varobj.c +++ b/gdb/c-varobj.c @@ -531,8 +531,8 @@ cplus_number_of_children (struct varobj *var) } adjust_value_for_child_access (&value, &type, NULL, lookup_actual_type); - if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) || - ((TYPE_CODE (type)) == TYPE_CODE_UNION)) + if (((TYPE_CODE (type)) == TYPE_CODE_STRUCT) + || ((TYPE_CODE (type)) == TYPE_CODE_UNION)) { int kids[3];