]> Git Repo - binutils.git/commitdiff
* gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
authorTom Tromey <[email protected]>
Wed, 25 Apr 2012 13:54:00 +0000 (13:54 +0000)
committerTom Tromey <[email protected]>
Wed, 25 Apr 2012 13:54:00 +0000 (13:54 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/linux-dp.exp

index 7bf0cc11fbdd9a8f329576d5044a30b9d873acf4..8c1fd30b71b07c6df0d8a253a25af11711986bea 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-25  Tom Tromey  <[email protected]>
+
+       * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
+
 2012-04-18  Siddhesh Poyarekar  <[email protected]>
            Jan Kratochvil  <[email protected]>
 
index d7fa1259d5aa88416782236a3fcb69fdbfd95cbc..d74cded8ce31034178e2773f0689ca23d7161b2e 100644 (file)
@@ -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
This page took 0.076581 seconds and 4 git commands to generate.