aboutsummaryrefslogtreecommitdiff
path: root/config/gdb-comm.exp
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/gdb-comm.exp
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/gdb-comm.exp')
-rw-r--r--config/gdb-comm.exp8
1 files changed, 4 insertions, 4 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
}