diff options
author | Yao Qi <yao@codesourcery.com> | 2013-10-18 02:09:57 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-10-18 02:09:57 +0000 |
commit | 0c6faab597cd4a4fc5cc61d312899fd143473d87 (patch) | |
tree | 0ab42e54c337e1b631c5a7d6aeee41904170e998 | |
parent | 64fc6eab9a1580a36dc5670cb2f91bcc7201d87f (diff) | |
download | gdb-0c6faab597cd4a4fc5cc61d312899fd143473d87.zip gdb-0c6faab597cd4a4fc5cc61d312899fd143473d87.tar.gz gdb-0c6faab597cd4a4fc5cc61d312899fd143473d87.tar.bz2 |
gdb/
* c-varobj.c (cplus_number_of_children): Fix indentation.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/c-varobj.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d6200fa..872838b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-10-18 Yao Qi <yao@codesourcery.com> + + * c-varobj.c (cplus_number_of_children): Fix indentation. + 2013-10-17 Tom Tromey <tromey@redhat.com> PR gdb/15995: diff --git a/gdb/c-varobj.c b/gdb/c-varobj.c index 73e785c..fbfc845 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]; |