* gdb.dwarf2/typeddwarf.exp: Ditto.
+2011-09-12 Doug Evans <dje@google.com>
+
+ * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
+ * gdb.dwarf2/typeddwarf.exp: Ditto.
+
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with x32 arch.
return -1
}
-global tests
-set tests(_) -
-unset tests(_)
+# Initialize tests to be an empty array.
+unset -nocomplain tests
+array set tests {}
proc gdb-test {line var value} {
global tests
return -1
}
-global tests
-set tests(_) -
-unset tests(_)
+# Initialize tests to be an empty array.
+unset -nocomplain tests
+array set tests {}
proc gdb-test {line var value} {
global tests