diff options
author | Tom Tromey <tromey@redhat.com> | 2012-04-25 13:53:59 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-04-25 13:53:59 +0000 |
commit | 527f3f69de3fc6763330a6f7fccc9b11014b3ca1 (patch) | |
tree | e83289f914e196048289192e44d905bc5497c525 | |
parent | 063ad6c691204e6faa95fa82871612b729e20616 (diff) | |
download | gdb-527f3f69de3fc6763330a6f7fccc9b11014b3ca1.tar.gz |
* gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/linux-dp.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7bf0cc11fbd..8c1fd30b71b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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> diff --git a/gdb/testsuite/gdb.threads/linux-dp.exp b/gdb/testsuite/gdb.threads/linux-dp.exp index d7fa1259d5a..d74cded8ce3 100644 --- a/gdb/testsuite/gdb.threads/linux-dp.exp +++ b/gdb/testsuite/gdb.threads/linux-dp.exp @@ -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 |