aboutsummaryrefslogtreecommitdiff
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
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'.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.threads/linux-dp.exp3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9226881..2b3954f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-24 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
+
2002-04-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/help.exp: Change 'help status' to allow for target
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