Fix hang in floating varobjs.

* varob.c (varobj_invalidate): Advance to next
	element when processing floating varobj.
This commit is contained in:
Vladimir Prus
2009-07-07 08:51:31 +00:00
parent 9a139cba57
commit 60d329700d
2 changed files with 10 additions and 1 deletions

View File

@@ -3231,8 +3231,10 @@ varobj_invalidate (void)
/* Floating varobjs are reparsed on each stop, so we don't care if
the presently parsed expression refers to something that's gone.
*/
if ((*varp)->root->floating)
if ((*varp)->root->floating) {
varp++;
continue;
}
/* global var must be re-evaluated. */
if ((*varp)->root->valid_block == NULL)