aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-06-06 13:33:08 +0000
committerPedro Alves <palves@redhat.com>2011-06-06 13:33:08 +0000
commit9f47e25402babb7287d33162ff5579f9e57746d7 (patch)
tree5af2d98a3284c51272cf5868159f1d3361ff99e2 /gdb/testsuite
parent3dd5b83d5bd7977bb5b98c9ef9bd8345c0f26d80 (diff)
downloadgdb-9f47e25402babb7287d33162ff5579f9e57746d7.zip
gdb-9f47e25402babb7287d33162ff5579f9e57746d7.tar.gz
gdb-9f47e25402babb7287d33162ff5579f9e57746d7.tar.bz2
2011-06-06 Pedro Alves <pedro@codesourcery.com>
gdb/testsuite/ * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.threads/pending-step.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index da8d2fe..359452d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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>
diff --git a/gdb/testsuite/gdb.threads/pending-step.exp b/gdb/testsuite/gdb.threads/pending-step.exp
index ecce946..342e105 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 $" {