diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-24 22:06:59 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-24 22:06:59 +0000 |
commit | a76e022adf3f91ab44ae8b95e7a5bdc2e06b7136 (patch) | |
tree | 503018fe47350071e8f7d719a5dedd8e4c4925c0 /gdb/testsuite/gdb.base/exprs.exp | |
parent | ad3986f07b99393eb3a6282381d82cc1e8fe02fd (diff) | |
download | gdb-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/exprs.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/exprs.exp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/exprs.exp b/gdb/testsuite/gdb.base/exprs.exp index 4841ecc..a872d13 100644 --- a/gdb/testsuite/gdb.base/exprs.exp +++ b/gdb/testsuite/gdb.base/exprs.exp @@ -225,8 +225,8 @@ test_expr "set variable v_unsigned_long = 0" "print (void*)v_unsigned_long" "\\$ # sizeof(long long) and sizeof(void*) are # the same size so this test can not work. # -send_gdb "print sizeof (long long) > sizeof (long)\n" -gdb_expect { +gdb_test_multiple "print sizeof (long long) > sizeof (long)" \ + "sizeof long long > sizeof long" { -re "\\$\[0-9\]* = $true.*$gdb_prompt" { set ok 1 pass "sizeof (long long) > sizeof (long) (true)" @@ -235,10 +235,6 @@ gdb_expect { set ok 0 pass "sizeof (long long) > sizeof (long) (false)" } - timeout { - set ok 0 - fail "sizeof (long long) > sizeof (long) (timeout)" - } } if [expr ! $ok] { setup_xfail "*-*-*" } gdb_test "print (void*) ((long long) (unsigned long) -1 + 1)" \ |