aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 0683af1..a142bb0 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -2387,8 +2387,6 @@ varobj_invalidate_iter (struct varobj *var)
var->root->is_valid = false;
}
}
- else /* locals must be invalidated. */
- var->root->is_valid = false;
}
/* Invalidate the varobjs that are tied to locals and re-create the ones that