* varobj.c (varobj_update): Fix out of scope varobjs to not to change.
This commit is contained in:
Jan Kratochvil 2009-06-04 21:56:22 +00:00
parent 1dcd334d34
commit 0b4bc29af3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* varobj.c (varobj_update): Fix out of scope varobjs to not to change.
2009-06-04 Ulrich Weigand <uweigand@de.ibm.com>
* symtab.h: Rename SYMBOL_OPS to SYMBOL_COMPUTED_OPS.

View File

@ -1539,7 +1539,8 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
if (r.status == VAROBJ_NOT_IN_SCOPE)
{
VEC_safe_push (varobj_update_result, result, &r);
if (r.type_changed || r.changed)
VEC_safe_push (varobj_update_result, result, &r);
return result;
}