aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c4
1 files changed, 2 insertions, 2 deletions
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)