OSDN Git Service

2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec.gnu@mindspring.com>
Fri, 20 Aug 2004 10:57:08 +0000 (10:57 +0000)
committerMichael Chastain <mec.gnu@mindspring.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 5cd7214..29dcba4 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 69b24b0..d42e725 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}"
                }
            }