Browse Source

2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>

* lib/remote.exp (remote_expect): Pass all exception conditions up
	to the caller.
dejagnu-1.5
Ben Elliston 16 years ago
parent
commit
119f94fff1
  1. 5
      ChangeLog
  2. 6
      lib/remote.exp

5
ChangeLog

@ -1,3 +1,8 @@
2011-03-03 Maciej W. Rozycki <macro@codesourcery.com>
* lib/remote.exp (remote_expect): Pass all exception conditions up
to the caller.
2011-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/dg.exp (dg-test): Support nested calls.

6
lib/remote.exp

@ -1256,11 +1256,7 @@ proc remote_expect { board timeout args } {
if {$code == 1} {
return -code error -errorinfo $errorInfo -errorcode $errorCode $string
} elseif {$code == 2} {
return -code return $string
} elseif {$code == 3} {
return
} elseif {$code > 4} {
} else {
return -code $code $string
}
}

Loading…
Cancel
Save