diff options
author | Doug Evans <dje@google.com> | 2010-03-30 22:12:07 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-03-30 22:12:07 +0000 |
commit | 8d9e7719110b2d06c9cadee77e19fd455b84e81c (patch) | |
tree | 3118f010ef23c351a9aa4d8dba0e74825b3dcf09 /gdb/testsuite | |
parent | d946c2884d66f64c4b671bbed16283bcae3c5667 (diff) | |
download | gdb-8d9e7719110b2d06c9cadee77e19fd455b84e81c.zip gdb-8d9e7719110b2d06c9cadee77e19fd455b84e81c.tar.gz gdb-8d9e7719110b2d06c9cadee77e19fd455b84e81c.tar.bz2 |
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
match.
(break printf): Ditto.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/annota1.exp | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dcf8c41..34ffc66 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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> * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 2468292..6fac1cd 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -218,9 +218,9 @@ gdb_expect { send_gdb "break handle_USR1\n" 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$" \ - { pass "breakpoint handle_USR1" } - -re ".*$gdb_prompt$" { fail "break at handle_USR1" } - timeout { fail "break at handle_USR1 (timeout)" } + { pass "break handle_USR1" } + -re ".*$gdb_prompt$" { fail "break handle_USR1" } + timeout { fail "break handle_USR1 (timeout)" } } # @@ -229,9 +229,9 @@ gdb_expect { send_gdb "break printf\n" gdb_expect { -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$" \ - { pass "breakpoint printf"} + { pass "break printf" } -re ".*$gdb_prompt$" { fail "break printf" } timeout { fail "break printf (timeout)" } } |