From: Jan Kratochvil Date: Mon, 13 Sep 2010 20:05:04 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbd492a37708515131c212c6ed88c13cc3a3d3b0;p=binutils-gdb.git gdb/testsuite/ Fix false FAILs on sourcetree topdir directory containing "kill". * gdb.base/sigall.exp (test_one_sig) : Extend the source line matching regexp. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 82e9f9ec4a1..a2a4eeef30c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-09-13 Jan Kratochvil + + Fix false FAILs on sourcetree topdir directory containing "kill". + * gdb.base/sigall.exp (test_one_sig) : Extend the + source line matching regexp. + 2010-09-11 Jan Kratochvil * 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 1fbf3e53b30..bf6f1d74676 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 }