mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-18 03:27:52 +08:00
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
match. (break printf): Ditto.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-03-30 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
|
||||||
|
match.
|
||||||
|
(break printf): Ditto.
|
||||||
|
|
||||||
2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
|
2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
|
||||||
|
|
||||||
* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
|
* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
|
||||||
|
@ -218,9 +218,9 @@ gdb_expect {
|
|||||||
send_gdb "break handle_USR1\n"
|
send_gdb "break handle_USR1\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex: file.*$srcfile, line.*\r\n$gdb_prompt$" \
|
-re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex: file.*$srcfile, line.*\r\n$gdb_prompt$" \
|
||||||
{ pass "breakpoint handle_USR1" }
|
{ pass "break handle_USR1" }
|
||||||
-re ".*$gdb_prompt$" { fail "break at handle_USR1" }
|
-re ".*$gdb_prompt$" { fail "break handle_USR1" }
|
||||||
timeout { fail "break at handle_USR1 (timeout)" }
|
timeout { fail "break handle_USR1 (timeout)" }
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -229,9 +229,9 @@ gdb_expect {
|
|||||||
send_gdb "break printf\n"
|
send_gdb "break printf\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \
|
-re "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \
|
||||||
{ pass "breakpoint printf" }
|
{ pass "break printf" }
|
||||||
-re "\r\n\032\032post-prompt\r\nwarning: Breakpoint address adjusted from $hex to $hex.\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \
|
-re "\r\n\032\032post-prompt\r\nwarning: Breakpoint address adjusted from $hex to $hex.\r\n\r\n\032\032breakpoints-invalid\r\nBreakpoint.*at $hex.*$gdb_prompt$" \
|
||||||
{ pass "breakpoint printf"}
|
{ pass "break printf" }
|
||||||
-re ".*$gdb_prompt$" { fail "break printf" }
|
-re ".*$gdb_prompt$" { fail "break printf" }
|
||||||
timeout { fail "break printf (timeout)" }
|
timeout { fail "break printf (timeout)" }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user