2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Fri, 20 Aug 2004 10:57:08 +0000 (10:57 +0000)
committerMichael Chastain <mec@google.com>
Fri, 20 Aug 2004 10:57:08 +0000 (10:57 +0000)
* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/call-sc.exp

index 5cd721473b044299e4e31db21e8598680812a172..29dcba4ac7260bab9592046580641ce6bfffea20 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-20  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/call-sc.exp (test_scalar_returns):
+       Fix cut-and-paste glitch in "Make fun return now".
+
 2004-08-17  Michael Chastain  <mec.gnu@mindspring.com>
 
        * configure.in: Add gdb.fortran.
index 69b24b0e9d6cbcfab59b70eedb70825fade6ee28..d42e725a1f43ea3a3b6636c258f1df3be441114c 100644 (file)
@@ -274,7 +274,7 @@ proc test_scalar_returns { } {
                    # Need to step off the function call
                    gdb_test "next" "zed.*" "${test}"
                }
-               -re "L[expr  + 1] *= fun[expr  + 1].*${gdb_prompt} $" {
+               -re "zed \\(\\);.*$gdb_prompt $" {
                    pass "${test}"
                }
            }