* varobj.c (varobj_invalidate): Don't touch floating

varobjs.
This commit is contained in:
Vladimir Prus 2008-04-19 16:38:25 +00:00
parent 7fc830e290
commit 603ba1de0b
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
* varobj.c (varobj_invalidate): Don't touch floating
varobjs.
2008-04-19 Mark Kettenis <kettenis@gnu.org>
* symtab.c: (multiple_symbols_modes, multiple_symbols_ask)

View file

@ -2773,6 +2773,11 @@ varobj_invalidate (void)
varp = all_rootvarobj;
while (*varp != NULL)
{
/* 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)
continue;
/* global var must be re-evaluated. */
if ((*varp)->root->valid_block == NULL)
{