From 954de43bb9cc06e0da921116f0f9ecdb217a3f0e Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 5 May 2006 22:45:35 +0000 Subject: * gdb.base/break.exp: Do not assume a breakpoint on main will actually be in $srcfile when optimizing. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/break.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e245511..f814cb3 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 4a704fb..13458a9 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" # -- cgit v1.1