diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sigall.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 82e9f9e..a2a4eee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix false FAILs on sourcetree topdir directory containing "kill". + * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the + source line matching regexp. + 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.python/python.exp (set height 0, collect help from uiout) diff --git a/gdb/testsuite/gdb.base/sigall.exp b/gdb/testsuite/gdb.base/sigall.exp index 1fbf3e5..bf6f1d7 100644 --- a/gdb/testsuite/gdb.base/sigall.exp +++ b/gdb/testsuite/gdb.base/sigall.exp @@ -94,11 +94,11 @@ proc test_one_sig {nextsig} { if { $missed_handler == "0" } then { gdb_test_multiple "signal 0" "advance to $nextsig" { - -re "Breakpoint.*gen_$nextsig.*kill.*$gdb_prompt $" { + -re "Breakpoint.*gen_$nextsig.*\r\n\[0-9\]+\[ \t\]+kill \\(.*\r\n$gdb_prompt $" { pass "advance to $nextsig" set sig_supported 1 } - -re "Breakpoint.*gen_$nextsig.*handle.*$gdb_prompt $" { + -re "Breakpoint.*gen_$nextsig.*\r\n\[0-9\]+\[ \t\]+handle_.*\r\n$gdb_prompt $" { pass "advance to $nextsig" set sig_supported 0 } |