aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-09-23 18:07:46 +0000
committerTom Tromey <tromey@redhat.com>2013-09-23 18:07:46 +0000
commitf60e2d5c2a69f9ec67180995ea507252ea077b9a (patch)
tree3a4a20b4ae275865674688c2901159ad0010b080 /gdb/testsuite
parentd3eaaf662248d48238dfae07cefb4e9008b852e2 (diff)
downloadgdb-f60e2d5c2a69f9ec67180995ea507252ea077b9a.zip
gdb-f60e2d5c2a69f9ec67180995ea507252ea077b9a.tar.gz
gdb-f60e2d5c2a69f9ec67180995ea507252ea077b9a.tar.bz2
(clh 9)
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/lib/mi-support.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 86a0fd6..e24cf06 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -2264,6 +2264,9 @@ namespace eval ::varobj_tree {
error "tree does not contain enough elements"
}
+variable _root_idx
+ set _root_idx 0
+
# Create root node and process the tree.
array set root [list language $language]
array set root [list obj_name "root"]