aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-11-25 23:53:45 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-11-25 23:53:45 +0000
commitfb0aec578b512f6acc65139ee79cd82bee5a68ca (patch)
treea50bcb2307deb4076670961c862810ffde92cf9f /gdb
parent50b4ddf832854ab89c4690a435e79c394e3bde0c (diff)
downloadgdb-fb0aec578b512f6acc65139ee79cd82bee5a68ca.zip
gdb-fb0aec578b512f6acc65139ee79cd82bee5a68ca.tar.gz
gdb-fb0aec578b512f6acc65139ee79cd82bee5a68ca.tar.bz2
gdb/testsuite/
Code cleanup. * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test): Convert send_gdb and gdb_expect to gdb_test_multiple.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.reverse/i386-sse-reverse.exp10
2 files changed, 9 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 89a7218..8c0c1c0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -4,6 +4,10 @@
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
Wrap send_gdb into a new gdb_test.
+ Code cleanup.
+ * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
+ Convert send_gdb and gdb_expect to gdb_test_multiple.
+
2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
diff --git a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
index d6965db..3ba0eaf 100644
--- a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
@@ -632,12 +632,12 @@ gdb_test "break $end_sse4_test" \
"Breakpoint $decimal at .* line $end_sse4_test\." \
"set breakpoint at end of sse4_test"
-send_gdb "continue\n"
-gdb_expect {
- -re " end sse4_test .*" {
- pass "continue to end of sse4_test"
+set test "continue to end of sse4_test"
+gdb_test_multiple "continue" $test {
+ -re " end sse4_test .*\r\n$gdb_prompt $" {
+ pass $test
}
- -re " Illegal instruction.*" {
+ -re " Illegal instruction.*\r\n$gdb_prompt $" {
untested i386-sse4-reverse
return -1
}