aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-11-30 12:18:54 +1100
committerBen Elliston <bje@gnu.org>2018-11-30 12:18:54 +1100
commit88486ad34305e2b6c9cd7f5e0efa65b709d30587 (patch)
tree3cf71534bba4823dbef8359bda9b4d170dbe63f3 /config
parent12028b93c50d35b79fd73860eb6d011b00a6d11c (diff)
downloaddejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.zip
dejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.tar.gz
dejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.tar.bz2
* runtest.exp: Use isremote.
* lib/target.exp: Likewise. * lib/remote.exp: Likewise. * lib/libgloss.exp: Likewise. * config/unix.exp: Likewise. * config/sim.exp: Likewise. * config/gdb_stub.exp: Likewise. * config/gdb-comm.exp: Likewise. * baseboards/basic-sim.exp: Likewise. * baseboards/androideabi.exp: Likewise.
Diffstat (limited to 'config')
-rw-r--r--config/gdb-comm.exp8
-rw-r--r--config/gdb_stub.exp2
-rw-r--r--config/sim.exp4
-rw-r--r--config/unix.exp2
4 files changed, 8 insertions, 8 deletions
diff --git a/config/gdb-comm.exp b/config/gdb-comm.exp
index 5182847..fc25b9b 100644
--- a/config/gdb-comm.exp
+++ b/config/gdb-comm.exp
@@ -68,7 +68,7 @@ proc gdb_comm_file_cmd { arg } {
# The "file" command loads up a new symbol file for gdb, deal with
# the various messages it might spew out.
- if {[is_remote host]} {
+ if {[isremote host]} {
set arg [remote_download host $arg a.out]
}
remote_send host "file $arg\n"
@@ -230,13 +230,13 @@ proc quit_gdb { } {
}
}
}
- if {![is_remote host]} {
+ if {![isremote host]} {
remote_close host
}
}
proc gdb_comm_leave { } {
- if {[is_remote host]} {
+ if {[isremote host]} {
quit_gdb
} else {
gdb_comm_go_idle
@@ -267,7 +267,7 @@ proc gdb_comm_load { dest prog args } {
return [list "untested" ""]
}
- if { [is_remote host] || ![board_info host exists fileid] } {
+ if { [isremote host] || ![board_info host exists fileid] } {
gdb_comm_start $dest
}
diff --git a/config/gdb_stub.exp b/config/gdb_stub.exp
index 6c6c8a5..7d8cb0d 100644
--- a/config/gdb_stub.exp
+++ b/config/gdb_stub.exp
@@ -171,7 +171,7 @@ proc gdb_stub_startup { dest } {
set result [target_compile "${libdir}/stub-loader.c" $loader executable "ldscript=[board_info $dest gdb_stub_ldscript]"]
}
verbose "result is $result"
- if {[is_remote host]} {
+ if {[isremote host]} {
set loader [remote_download host $loader]
}
}
diff --git a/config/sim.exp b/config/sim.exp
index 0108104..b507742 100644
--- a/config/sim.exp
+++ b/config/sim.exp
@@ -36,14 +36,14 @@ proc sim_spawn { dest cmdline args } {
set simflags ""
}
- if {![is_remote host]} {
+ if {![isremote host]} {
if { [which $sim] == 0 } {
verbose -log "Simulator $sim missing." 3
return -1
}
}
- if {[is_remote host]} {
+ if {[isremote host]} {
# download the program to remote.
# we're assuming the program is the first word in the command.
# FIXME: "prog < infile" won't work until we download infile.
diff --git a/config/unix.exp b/config/unix.exp
index c349b30..2a3432b 100644
--- a/config/unix.exp
+++ b/config/unix.exp
@@ -61,7 +61,7 @@ proc unix_load { dest prog args } {
return "untested"
}
verbose "loading to $dest" 2
- if {![is_remote $dest]} {
+ if {![isremote $dest]} {
if { "$inp" != "" } {
set command "$prog $parg < $inp"
} else {