* gdb.base/break.exp: Do not assume a breakpoint on
main will actually be in $srcfile when optimizing.
This commit is contained in:
parent
bcc98f888e
commit
954de43bb9
@ -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.
|
||||
|
@ -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"
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user