mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
This commit is contained in:
parent
f02e2b19dd
commit
e65f9ffb8e
@ -1,3 +1,7 @@
|
||||
2012-04-25 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
|
||||
|
||||
2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
|
@ -339,8 +339,8 @@ proc check_philosopher_stack {thread seen_name} {
|
||||
}
|
||||
|
||||
set any_interesting 0
|
||||
catch {unset seen}
|
||||
array set seen {}
|
||||
unset seen
|
||||
for {set i 1} {$i <= $nthreads} {incr i} {
|
||||
if [check_philosopher_stack $i seen] {
|
||||
set any_interesting 1
|
||||
|
Loading…
Reference in New Issue
Block a user