From 9f47e25402babb7287d33162ff5579f9e57746d7 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 6 Jun 2011 13:33:08 +0000 Subject: [PATCH] 2011-06-06 Pedro Alves gdb/testsuite/ * gdb.threads/pending-step.exp: Add more context to SIGTRAP match. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.threads/pending-step.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 $" { -- 2.47.2