From 6ff9af88cb43cdc514a673322e4247fc138cecdc Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 24 Apr 2002 22:11:28 +0000 Subject: 2002-04-24 Daniel Jacobowitz * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.threads/linux-dp.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + + * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'. + 2002-04-23 Elena Zannoni * 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 -- cgit v1.1