* gdb.base/call-sc.exp (start_scalars_test): Fix regular

expression that checks the return type.
This commit is contained in:
Mark Kettenis 2004-04-28 00:15:52 +00:00
parent 61ddcf828f
commit 0ef32fd971
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-04-25 Mark Kettenis <kettenis@gnu.org>
* gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.
2004-04-23 Andrew Cagney <cagney@redhat.com>
* gdb.base/call-sc.exp: New test of scalar call/return values.

View File

@ -115,7 +115,7 @@ proc start_scalars_test { type } {
set test "ptype; ${testfile}"
set foo_t "xxx"
gdb_test_multiple "ptype ${type}" "${test}" {
-re "type = (\[^\\r\\n\]*).*$gdb_prompt $" {
-re "type = (\[^\r\n\]*)\r\n$gdb_prompt $" {
set foo_t "$expect_out(1,string)"
pass "$test (${foo_t})"
}