aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-10-31 16:00:46 +0000
committerMark Kettenis <kettenis@gnu.org>2005-10-31 16:00:46 +0000
commite52b687cc51d9dff8b2bfa7324f62356b7516ac5 (patch)
tree87f059ecff7db37f67e75e274d3c78dd8fd6857d /gdb
parent9a2ff3f50c15b249f724b8ef6ae3d035567ab854 (diff)
downloadgdb-e52b687cc51d9dff8b2bfa7324f62356b7516ac5.zip
gdb-e52b687cc51d9dff8b2bfa7324f62356b7516ac5.tar.gz
gdb-e52b687cc51d9dff8b2bfa7324f62356b7516ac5.tar.bz2
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/bfp-test.exp14
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2e74bc8..4349845 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-31 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
+
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
diff --git a/gdb/testsuite/gdb.base/bfp-test.exp b/gdb/testsuite/gdb.base/bfp-test.exp
index 43bf187..85f2028 100644
--- a/gdb/testsuite/gdb.base/bfp-test.exp
+++ b/gdb/testsuite/gdb.base/bfp-test.exp
@@ -59,7 +59,7 @@ gdb_test_multiple "set var b32=10.5f" "$test" {
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 10.5f)"
}
}
@@ -69,7 +69,7 @@ gdb_test_multiple "set var b64=20.25f" "$test" {
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 20.25f)"
}
}
@@ -79,7 +79,7 @@ gdb_test_multiple "set var b128=30.375l" "$test" {
-re "$gdb_prompt $" {
pass "$test"
}
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
fail "$test (do not recognize 30.375l)"
}
}
@@ -92,7 +92,7 @@ gdb_test "print b128" ".*9 = 30\.375.*" "The value of b128 is changed to 30.375"
set test "set variable b32 = 100.5a"
gdb_test_multiple "set var b32=100.5a" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -102,7 +102,7 @@ gdb_test_multiple "set var b32=100.5a" "$test" {
set test "set variable b64 = 200.25x"
gdb_test_multiple "set var b64=200.25x" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -112,7 +112,7 @@ gdb_test_multiple "set var b64=200.25x" "$test" {
set test "set variable b128 = 300.375fl"
gdb_test_multiple "set var b128=300.375fl" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {
@@ -122,7 +122,7 @@ gdb_test_multiple "set var b128=300.375fl" "$test" {
set test "set variable b128 = 300.375fff"
gdb_test_multiple "set var b128=300.375fff" "$test" {
- -re "Invalid number" {
+ -re "Invalid number.*$gdb_prompt $" {
pass "$test"
}
-re "$gdb_prompt $" {