From: Stephane Carrez Date: Fri, 4 Apr 2003 20:03:46 +0000 (+0000) Subject: * gdb.base/break.exp: marker4() is defined at line 46 when compiled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dfb4cf0914918a83792055b7a218c23c0934d76;p=binutils-gdb.git * gdb.base/break.exp: marker4() is defined at line 46 when compiled with -DPROTOTYPES. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0cadc56900d..a432dd6613d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-04-04 Stephane Carrez + + * gdb.base/break.exp: marker4() is defined at line 46 when compiled + with -DPROTOTYPES. + 2003-04-02 Andrew Cagney * gdb.base/callfuncs.exp: Make "print add" messages unique. diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index fbc0e117e0a..eb52047c965 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -914,6 +914,10 @@ gdb_expect { -re "Breakpoint $decimal, $hex in marker4 \\(d=177601976\\) at .*$srcfile:51\[\r\n\]+51\[\t \]+void marker4.*" { pass "run until breakpoint set at small function, optimized file" } + # marker4() is defined at line 46 when compiled with -DPROTOTYPES + -re "Breakpoint $decimal, marker4 \\(d=177601976\\) at .*$srcfile:46\[\r\n\]+46\[\t \]+void marker4.*" { + pass "run until breakpoint set at small function, optimized file" + } -re ".*$gdb_prompt " { fail "run until breakpoint set at small function, optimized file" }