summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-20 13:27:49 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-20 13:27:49 +0000
commit5e240e1f9676c1977686126b16eab63a299e2a62 (patch)
treed570bb9db2f288d95efbafbfabb68fb1c93fbf5b
parent52d962c30109ca0938b95b2f988b4f1faca80c7c (diff)
downloadgdb-5e240e1f9676c1977686126b16eab63a299e2a62.tar.gz
* gdb.base/default.exp: Check for win32 specific message when calling
"run" without executable.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/default.exp6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 0442f77821b..7a0dcfca29f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
+ * gdb.base/default.exp: Check for win32 specific message when calling
+ "run" without executable.
+
+2003-03-20 Corinna Vinschen <vinschen@redhat.com>
+
* gdb.base/args.exp: Expect .exe in output.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 7e3ed445645..f8dbfd8a457 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -428,6 +428,9 @@ No executable file specified.*
Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\
{ pass "run \"r\" abbreviation" }
-re "Starting program: .*
+No executable specified, use .target exec.\..*$gdb_prompt $"\
+ { pass "run \"r\" abbreviation" }
+ -re "Starting program: .*
No image loaded into target.*$gdb_prompt $"\
{ pass "run \"r\" abbreviation" }
-re "Starting program: .*
@@ -457,6 +460,9 @@ No executable file specified.*
Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\
{ pass "run" }
-re "Starting program: .*
+No executable specified, use .target exec.\..*$gdb_prompt $"\
+ { pass "run" }
+ -re "Starting program: .*
No image loaded into target.*$gdb_prompt $"\
{ pass "run" }
-re "Starting program: .*