From 2f193b694d5d5b41d117692be58164c8264dcaef Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 20 Aug 2004 10:57:08 +0000 Subject: [PATCH] 2004-08-20 Michael Chastain * gdb.base/call-sc.exp (test_scalar_returns): Fix cut-and-paste glitch in "Make fun return now". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/call-sc.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5cd721473b0..29dcba4ac72 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-08-20 Michael Chastain + + * gdb.base/call-sc.exp (test_scalar_returns): + Fix cut-and-paste glitch in "Make fun return now". + 2004-08-17 Michael Chastain * configure.in: Add gdb.fortran. diff --git a/gdb/testsuite/gdb.base/call-sc.exp b/gdb/testsuite/gdb.base/call-sc.exp index 69b24b0e9d6..d42e725a1f4 100644 --- a/gdb/testsuite/gdb.base/call-sc.exp +++ b/gdb/testsuite/gdb.base/call-sc.exp @@ -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}" } } -- 2.30.2