diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-06-06 18:25:46 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-06-06 18:25:46 +0000 |
commit | b18bced9af7578844225bf25083370c58ce5303d (patch) | |
tree | 577534e73ef361756f900139ac19e35acb447de8 | |
parent | 42c6598756d88cd10e71d1797b9458603fee8ead (diff) | |
download | binutils-b18bced9af7578844225bf25083370c58ce5303d.zip binutils-b18bced9af7578844225bf25083370c58ce5303d.tar.gz binutils-b18bced9af7578844225bf25083370c58ce5303d.tar.bz2 |
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
-rw-r--r-- | gdb/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/exprs.exp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 745ea9e..9f539da 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2001-06-06 Jim Blandy <jimb@redhat.com> + * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"): + Don't forget to match the GDB prompt. + * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings. 2001-06-04 Jim Blandy <jimb@redhat.com> diff --git a/gdb/testsuite/gdb.base/exprs.exp b/gdb/testsuite/gdb.base/exprs.exp index d1eb087..1cebf70 100644 --- a/gdb/testsuite/gdb.base/exprs.exp +++ b/gdb/testsuite/gdb.base/exprs.exp @@ -238,11 +238,11 @@ test_expr "set variable v_unsigned_long = 0" "print (void*)v_unsigned_long" "\\$ # send_gdb "print sizeof (long long) > sizeof (long)\n" gdb_expect { - -re "\\$\[0-9\]* = $true" { + -re "\\$\[0-9\]* = $true.*$gdb_prompt" { set ok 1 pass "sizeof (long long) > sizeof (long) (true)" } - -re "\\$\[0-9\]* = $false" { + -re "\\$\[0-9\]* = $false.*$gdb_prompt" { set ok 0 pass "sizeof (long long) > sizeof (long) (false)" } |