* varobj.c (varobj_invalidate): Don't touch floating
varobjs.
This commit is contained in:
parent
7fc830e290
commit
603ba1de0b
2 changed files with 10 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue