aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/gdb1090.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-24 22:06:59 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-24 22:06:59 +0000
commita76e022adf3f91ab44ae8b95e7a5bdc2e06b7136 (patch)
tree503018fe47350071e8f7d719a5dedd8e4c4925c0 /gdb/testsuite/gdb.base/gdb1090.exp
parentad3986f07b99393eb3a6282381d82cc1e8fe02fd (diff)
downloadgdb-a76e022adf3f91ab44ae8b95e7a5bdc2e06b7136.zip
gdb-a76e022adf3f91ab44ae8b95e7a5bdc2e06b7136.tar.gz
gdb-a76e022adf3f91ab44ae8b95e7a5bdc2e06b7136.tar.bz2
2010-05-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/default.exp: Replace send_gdb with gdb_test. * gdb.base/define.exp: Replace send_gdb with gdb_test. * gdb.base/display.exp: Replace send_gdb with gdb_test. * gdb.base/dump.exp: Replace send_gdb with gdb_test. * gdb.base/ending-run.exp: Replace send_gdb with gdb_test. * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test. * gdb.base/exprs.exp: Replace send_gdb with gdb_test. * gdb.base/fileio.exp: Replace send_gdb with gdb_test. * gdb.base/finish.exp: Replace send_gdb with gdb_test. * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test. * gdb.base/funcargs.exp: Replace send_gdb with gdb_test. * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test. * gdb.base/gcore.exp: Replace send_gdb with gdb_test. * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test. * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test. * gdb.base/help.exp: Replace send_gdb with gdb_test. * gdb.base/info-proc.exp: Replace send_gdb with gdb_test. * gdb.base/jump.exp: Replace send_gdb with gdb_test. * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
Diffstat (limited to 'gdb/testsuite/gdb.base/gdb1090.exp')
-rw-r--r--gdb/testsuite/gdb.base/gdb1090.exp9
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/gdb1090.exp b/gdb/testsuite/gdb.base/gdb1090.exp
index d8a7ca1..91e34b2 100644
--- a/gdb/testsuite/gdb.base/gdb1090.exp
+++ b/gdb/testsuite/gdb.base/gdb1090.exp
@@ -46,8 +46,7 @@ if ![runto marker] then {
}
gdb_test "up" ".*foo.*" "up from marker"
-send_gdb "print s24\n"
-gdb_expect {
+gdb_test_multiple "print s24" "print s24" {
-re "\\\$\[0-9\]* = \\{field_0 = 1170, field_1 = 64701\\}\r\n$gdb_prompt $" {
pass "print s24"
}
@@ -56,10 +55,4 @@ gdb_expect {
# gdb cannot find the second register and prints garbage.
kfail "gdb/1090" "print s24"
}
- -re ".*$gdb_prompt $" {
- fail "print s24"
- }
- timeout {
- fail "print s24 (timeout)"
- }
}