aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/a2-run.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-14 06:25:19 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-14 06:25:19 +0000
commit676a04427af557271ab2b08226de277ce45a7109 (patch)
tree0f36380342fdbca274a9605f7cea2e4abc3ad949 /gdb/testsuite/gdb.base/a2-run.exp
parent0a30fbc4cfd38f7966ea783b292031986645c6ce (diff)
downloadgdb-676a04427af557271ab2b08226de277ce45a7109.zip
gdb-676a04427af557271ab2b08226de277ce45a7109.tar.gz
gdb-676a04427af557271ab2b08226de277ce45a7109.tar.bz2
2002-02-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/a2-run.exp: Check for a remote target properly. * gdb.base/annota1.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/shlib-call.exp: Likewise. * gdb.base/term.exp: Likewise. * gdb.c++/annota2.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/a2-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/a2-run.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/a2-run.exp b/gdb/testsuite/gdb.base/a2-run.exp
index 2fc7ff0..f822f24 100644
--- a/gdb/testsuite/gdb.base/a2-run.exp
+++ b/gdb/testsuite/gdb.base/a2-run.exp
@@ -232,7 +232,7 @@ if [istarget "*-*-vxworks*"] then {
# GOAL: Test that shell is being used with "run". For remote debugging
# targets, there is no guarantee that a "shell" (whatever that is) is used.
-if [isnative] then {
+if ![is_remote target] then {
send_gdb "run `echo 8`\n"
gdb_expect {
-re "Starting program.*40320.*$gdb_prompt $" {