diff options
author | Yao Qi <yao@codesourcery.com> | 2013-08-29 04:58:26 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-08-29 04:58:26 +0000 |
commit | bf8793bb97185c07036fa3b686f391f504fb0291 (patch) | |
tree | e38e36c5c942aa387099fd84374d44cbcbc89afe /gdb | |
parent | 17ba854700754c3f81bd3f975cb46ea180f91431 (diff) | |
download | gdb-bf8793bb97185c07036fa3b686f391f504fb0291.zip gdb-bf8793bb97185c07036fa3b686f391f504fb0291.tar.gz gdb-bf8793bb97185c07036fa3b686f391f504fb0291.tar.bz2 |
gdb/
* varobj.c (install_dynamic_child): Remove trailing space.
Add one blank line after variable declaration.
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) |