* gdb.base/break.exp: Do not assume a breakpoint on

main will actually be in $srcfile when optimizing.
This commit is contained in:
David S. Miller 2006-05-05 22:45:35 +00:00
parent bcc98f888e
commit 954de43bb9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-05-05 David S. Miller <davem@sunset.davemloft.net>
* gdb.base/break.exp: Do not assume a breakpoint on
main will actually be in $srcfile when optimizing.
2006-05-05 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.

View File

@ -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"
#