From: Pedro Alves Date: Mon, 6 Jun 2011 13:33:08 +0000 (+0000) Subject: 2011-06-06 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f47e25402babb7287d33162ff5579f9e57746d7;p=binutils-gdb.git 2011-06-06 Pedro Alves gdb/testsuite/ * gdb.threads/pending-step.exp: Add more context to SIGTRAP match. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index da8d2fe2153..359452d0a54 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-06-06 Pedro Alves + + * gdb.threads/pending-step.exp: Add more context to SIGTRAP match. + 2011-06-03 Joel Brobecker (obvious fix) From Stephen Kitt diff --git a/gdb/testsuite/gdb.threads/pending-step.exp b/gdb/testsuite/gdb.threads/pending-step.exp index ecce946af06..342e10509fc 100644 --- a/gdb/testsuite/gdb.threads/pending-step.exp +++ b/gdb/testsuite/gdb.threads/pending-step.exp @@ -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 $" {