From: Yao Qi Date: Thu, 29 Aug 2013 04:58:26 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf8793bb97185c07036fa3b686f391f504fb0291;p=binutils-gdb.git gdb/ * varobj.c (install_dynamic_child): Remove trailing space. Add one blank line after variable declaration. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e4c0361f95..ae4559495f2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-29 Yao Qi + + * varobj.c (install_dynamic_child): Remove trailing space. + Add one blank line after variable declaration. + 2013-08-28 Jan Kratochvil PR gdb/15415 diff --git a/gdb/varobj.c b/gdb/varobj.c index d4fa6ba0cc0..ced3e2d45bc 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1045,11 +1045,11 @@ install_dynamic_child (struct varobj *var, *cchanged = 1; } } - else + else { varobj_p existing = VEC_index (varobj_p, var->children, index); - int type_updated = update_type_if_necessary (existing, value); + if (type_updated) { if (type_changed)