/[dejagnu]/dejagnu/lib/remote.exp
ViewVC logotype

Diff of /dejagnu/lib/remote.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by bje, Thu Aug 7 03:42:43 2003 UTC revision 1.12 by bje, Thu Aug 7 03:58:36 2003 UTC
# Line 895  proc remote_load { dest prog args } { Line 895  proc remote_load { dest prog args } {
895      if { [board_info $dest exists is_simulator] || [getenv REMOTELOAD_CACHE] == "" } {      if { [board_info $dest exists is_simulator] || [getenv REMOTELOAD_CACHE] == "" } {
896          set empty 0          set empty 0
897      } else {      } else {
898          for { set x 0; } {$x < [llength $args] } {incr x} {          for { set x 0 } {$x < [llength $args] } {incr x} {
899              if { [lindex $args $x] != "" } {              if { [lindex $args $x] != "" } {
900                  set empty 0                  set empty 0
901                  break                  break
# Line 1197  proc remote_expect { board timeout args Line 1197  proc remote_expect { board timeout args
1197          set spawn_id 1000          set spawn_id 1000
1198      }      }
1199    
1200      for { set i 0; } { $i < [llength $args] } { incr i ; }  {      for { set i 0 } { $i < [llength $args] } { incr i }  {
1201          if { $need_append } {          if { $need_append } {
1202              append res "\n-i $spawn_id "              append res "\n-i $spawn_id "
1203              set need_append 0              set need_append 0

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26