2011-06-06 Pedro Alves <pedro@codesourcery.com>

gdb/testsuite/
	* gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
This commit is contained in:
Pedro Alves 2011-06-06 13:33:08 +00:00
parent 3dd5b83d5b
commit 9f47e25402
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-06-06 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
From Stephen Kitt <steve@sk2.org>

View File

@ -77,7 +77,7 @@ set ok 0
for {set i 0} {$i < $iterations} {incr i} {
set ok 0
gdb_test_multiple "next" "$test" {
-re "SIGTRAP.*$gdb_prompt $" {
-re "Program received signal SIGTRAP.*$gdb_prompt $" {
fail "$test (spurious SIGTRAP)"
}
-re "$gdb_prompt $" {