2011-06-06 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Mon, 6 Jun 2011 13:33:08 +0000 (13:33 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 6 Jun 2011 13:33:08 +0000 (13:33 +0000)
gdb/testsuite/
* gdb.threads/pending-step.exp: Add more context to SIGTRAP match.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/pending-step.exp

index da8d2fe21532794ee301b1bcb84443733e839369..359452d0a547bf919baa8b941f9383b77d8d0b57 100644 (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>
index ecce946af06d2105868f9615e15b13fd3ddadc0a..342e10509fc32832dfc59824f7aeea514a20c5b1 100644 (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 $" {