* gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.
This commit is contained in:
parent
61ddcf828f
commit
0ef32fd971
|
@ -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.
|
||||
|
|
|
@ -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})"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue