aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-04-24 22:11:28 +0000
committerDaniel Jacobowitz <drow@false.org>2002-04-24 22:11:28 +0000
commit6ff9af88cb43cdc514a673322e4247fc138cecdc (patch)
tree0741f80d130b9d053807a599b4a60c5121073dc7 /gdb/testsuite/gdb.threads
parent32872fa78efd735aabd79d9995dab723885560f5 (diff)
downloadgdb-6ff9af88cb43cdc514a673322e4247fc138cecdc.zip
gdb-6ff9af88cb43cdc514a673322e4247fc138cecdc.tar.gz
gdb-6ff9af88cb43cdc514a673322e4247fc138cecdc.tar.bz2
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/linux-dp.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/linux-dp.exp b/gdb/testsuite/gdb.threads/linux-dp.exp
index 0f1b26a..67ed122 100644
--- a/gdb/testsuite/gdb.threads/linux-dp.exp
+++ b/gdb/testsuite/gdb.threads/linux-dp.exp
@@ -214,7 +214,8 @@ proc check_philosopher_stack {thread seen_name} {
}
set any_interesting 0
-array unset seen
+array set seen {}
+unset seen
for {set i 1} {$i <= 7} {incr i} {
if [check_philosopher_stack $i seen] {
set any_interesting 1