gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 29 Aug 2013 04:58:26 +0000 (04:58 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 29 Aug 2013 04:58:26 +0000 (04:58 +0000)
* varobj.c (install_dynamic_child): Remove trailing space.
Add one blank line after variable declaration.

gdb/ChangeLog
gdb/varobj.c

index 6e4c0361f953e82a06aa5fb5a237eaf4ad0ccae8..ae4559495f213e1dc5d9a5317ae61367bbfaee5c 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-29  Yao Qi  <yao@codesourcery.com>
+
+       * varobj.c (install_dynamic_child): Remove trailing space.
+       Add one blank line after variable declaration.
+
 2013-08-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        PR gdb/15415
index d4fa6ba0cc03d08d0f343295c90d55e54cd2d0c1..ced3e2d45bc482737fac0da012f6de4b960bb16f 100644 (file)
@@ -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)