From: David S. Miller Date: Fri, 5 May 2006 22:45:35 +0000 (+0000) Subject: * gdb.base/break.exp: Do not assume a breakpoint on X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=954de43bb9cc06e0da921116f0f9ecdb217a3f0e;p=binutils-gdb.git * gdb.base/break.exp: Do not assume a breakpoint on main will actually be in $srcfile when optimizing. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e2455112900..f814cb32abc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-05-05 David S. Miller + + * gdb.base/break.exp: Do not assume a breakpoint on + main will actually be in $srcfile when optimizing. + 2006-05-05 Christophe Lyon * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member. diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index 4a704fbc6d9..13458a9c166 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -887,7 +887,7 @@ if [target_info exists gdb_stub] { # test break at function # gdb_test "break main" \ - "Breakpoint.*at.* file .*$srcfile, line.*" \ + "Breakpoint.*at.* file .*, line.*" \ "breakpoint function, optimized file" #