From 2f3a2569b8671e6014285cca749193270258d5dd Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 2 Feb 2012 18:05:35 +0000 Subject: [PATCH] 2012-02-02 Pedro Alves * gdb.base/default.exp (run "r" abbreviation, run): Add extended-remote expected output. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/default.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c42cf7da4ac..048ffb5ea1e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-02-02 Pedro Alves + + * gdb.base/default.exp (run "r" abbreviation, run): Add + extended-remote expected output. + 2012-02-02 Tom Tromey * gdb.cp/dispcxx.exp: New file. diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index d0a82957f8e..13cb1ea6c19 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" } } } -- 2.30.2