aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/default.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-02-02 18:05:35 +0000
committerPedro Alves <palves@redhat.com>2012-02-02 18:05:35 +0000
commit2f3a2569b8671e6014285cca749193270258d5dd (patch)
treee062d563cbfbd143abb454763b9e6675e7429267 /gdb/testsuite/gdb.base/default.exp
parente886a1732a221f36ae53d7c46383ffcaba865fdc (diff)
downloadgdb-2f3a2569b8671e6014285cca749193270258d5dd.zip
gdb-2f3a2569b8671e6014285cca749193270258d5dd.tar.gz
gdb-2f3a2569b8671e6014285cca749193270258d5dd.tar.bz2
2012-02-02 Pedro Alves <palves@redhat.com>
* gdb.base/default.exp (run "r" abbreviation, run): Add extended-remote expected output.
Diffstat (limited to 'gdb/testsuite/gdb.base/default.exp')
-rw-r--r--gdb/testsuite/gdb.base/default.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index d0a8295..13cb1ea 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -441,6 +441,8 @@ You must specify a function name to run, and arguments if any"\
{ pass "run \"r\" abbreviation" }
-re "Don't know how to run. Try \"help target\"..*$gdb_prompt $"\
{ pass "run \"r\" abbreviation" }
+ -re "Starting program: .*Running the default executable on the remote target failed; try \"set remote exec-file\"?.*$gdb_prompt $"\
+ { pass "run \"r\" abbreviation" }
}
}
@@ -468,6 +470,8 @@ You must specify a function name to run, and arguments if any"
{ pass "run" }
-re "Don't know how to run. Try \"help target\"..*$gdb_prompt $"\
{ pass "run" }
+ -re "Starting program: .*Running the default executable on the remote target failed; try \"set remote exec-file\"?.*$gdb_prompt $"\
+ { pass "run" }
}
}