expression that checks the return type.
+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.
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})"
}