Fix hang in floating varobjs.
* varob.c (varobj_invalidate): Advance to next element when processing floating varobj.
This commit is contained in:
parent
9a139cba57
commit
60d329700d
|
@ -1,3 +1,10 @@
|
|||
2009-07-07 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
Fix hang in floating varobjs.
|
||||
|
||||
* varob.c (varobj_invalidate): Advance to next
|
||||
element when processing floating varobj.
|
||||
|
||||
2009-07-07 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* varobj.c: Remove unnecessary include.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue