From: Mark Kettenis Date: Mon, 31 Oct 2005 16:00:46 +0000 (+0000) Subject: * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e52b687cc51d9dff8b2bfa7324f62356b7516ac5;p=binutils-gdb.git * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2e74bc84570..434984597b9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-10-31 Mark Kettenis + + * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage. + 2005-10-17 Paul Gilliam * 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 43bf18753db..85f2028346e 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 $" {