diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/varobj.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e4c036..ae45594 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/varobj.c b/gdb/varobj.c index d4fa6ba..ced3e2d 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) |