aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/check-test-names.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1e1b702..38cc7be 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
+ unset the array variable.
+
2020-08-03 Tom de Vries <tdevries@suse.de>
PR symtab/26333
diff --git a/gdb/testsuite/lib/check-test-names.exp b/gdb/testsuite/lib/check-test-names.exp
index 4c0fde6..d72de3c 100644
--- a/gdb/testsuite/lib/check-test-names.exp
+++ b/gdb/testsuite/lib/check-test-names.exp
@@ -150,7 +150,7 @@ namespace eval ::CheckTestNames {
CheckTestNames::reset_vars
- unset all_test_names
+ array unset all_test_names
foreach nm {paths duplicates} {
set counts($nm,count) 0
}