aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb/selftest.exp
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2007-09-03 14:58:47 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2007-09-03 14:58:47 +0000
commitc8f021f82465520f2f8c331abac49f34dd265229 (patch)
tree10cdead5c3c49f648a6a117f4dcc392d76ebb6fe /gdb/testsuite/gdb.gdb/selftest.exp
parent25485add49efbfdbdc29b650ac75653f2f5c2cde (diff)
downloadgdb-c8f021f82465520f2f8c331abac49f34dd265229.zip
gdb-c8f021f82465520f2f8c331abac49f34dd265229.tar.gz
gdb-c8f021f82465520f2f8c331abac49f34dd265229.tar.bz2
* gdb.base/default.exp (show version): Update the version text.
* gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.gdb/selftest.exp')
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp12
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index a56194b..520c523 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -411,17 +411,25 @@ proc test_with_self { executable } {
gdb_expect {
-re "GNU gdb \[0-9\.\]*.*
Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*
+License GPLv3\\+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.*
+This is free software: you are free to change and redistribute it.*
+There is NO WARRANTY, to the extent permitted by law. Type \"show copying\".*
+and \"show warranty\" for details.*
+This GDB was configured as .*$gdb_prompt $"\
+ { pass "xgdb is at prompt" }
+ -re "GNU gdb \[0-9\.\]*.*
+Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*
GDB is free software, covered by the GNU General Public License, and you are.*
welcome to change it and/or distribute copies of it under certain conditions.*
Type \"show copying\" to see the conditions.*
There is absolutely no warranty for GDB. Type \"show warranty\" for details.*
This GDB was configured as .*$gdb_prompt $"\
- { pass "xgdb is at prompt" }
+ { pass "xgdb is at prompt (obsolescent gdb 2)" }
-re "GDB is free software and you are welcome to distribute copies of it.*
under certain conditions; type \"show copying\" to see the conditions..*
There is absolutely no warranty for GDB; type \"show warranty\" for details..*
GDB.*Copyright \[0-9\]+ Free Software Foundation, Inc..*$gdb_prompt $"\
- { pass "xgdb is at prompt (obsolescent gdb)" }
+ { pass "xgdb is at prompt (obsolescent gdb 1)" }
-re ".*$gdb_prompt $" { fail "xgdb is at prompt" }
timeout { fail "(timeout) xgdb is at prompt" }
}