gdb/testsuite/

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.
This commit is contained in:
Jan Kratochvil 2010-09-13 20:05:04 +00:00
parent fa1bd1e4fb
commit dbd492a377
2 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -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
}