forked from Imagelibrary/binutils-gdb
Fix hang in floating varobjs.
* varob.c (varobj_invalidate): Advance to next element when processing floating varobj.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user