diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-12-23 17:19:00 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-12-23 17:19:00 +0000 |
commit | 0cd530490f8751125412c6c061640752724537ed (patch) | |
tree | cfa6456240f812548993abe580af619356c9caef /gdb/testsuite/gdb.cp | |
parent | fa99fab2229b2e05faf2d2939e841c1d4a0b82b6 (diff) | |
download | gdb-0cd530490f8751125412c6c061640752724537ed.zip gdb-0cd530490f8751125412c6c061640752724537ed.tar.gz gdb-0cd530490f8751125412c6c061640752724537ed.tar.bz2 |
* gdb.cp/punctuator.exp: Backslash the '$' signs.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/punctuator.exp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.cp/punctuator.exp b/gdb/testsuite/gdb.cp/punctuator.exp index 046f568..c83cc16 100644 --- a/gdb/testsuite/gdb.cp/punctuator.exp +++ b/gdb/testsuite/gdb.cp/punctuator.exp @@ -35,18 +35,18 @@ gdb_test "print (0x5a5a or 0xaaaa) == (0x5a5a || 0xaaaa)" " = true" gdb_test "print (not not 0xaaaa) == (!!0xaaaa)" " = true" gdb_test "print (compl 0xaaaa) == (~0xaaaa)" " = true" -gdb_test "set $u = 0x5a5a" "" -gdb_test "set $v = 0x5a5a" "" -gdb_test "print ($u not_eq 0xaaaa) == ($v != 0xaaaa)" "= true" -gdb_test "print ($u and_eq 0xaaaa) == ($v &= 0xaaaa)" "= true" - -gdb_test "set $u = 0x5a5a" "" -gdb_test "set $v = 0x5a5a" "" -gdb_test "print ($u or_eq 0xaaaa) == ($v |= 0xaaaa)" "= true" - -gdb_test "set $u = 0x5a5a" "" -gdb_test "set $v = 0x5a5a" "" -gdb_test "print ($u xor_eq 0xaaaa) == ($v ^= 0xaaaa)" "= true" +gdb_test "set \$u = 0x5a5a" "" +gdb_test "set \$v = 0x5a5a" "" +gdb_test "print (\$u not_eq 0xaaaa) == (\$v != 0xaaaa)" "= true" +gdb_test "print (\$u and_eq 0xaaaa) == (\$v &= 0xaaaa)" "= true" + +gdb_test "set \$u = 0x5a5a" "" +gdb_test "set \$v = 0x5a5a" "" +gdb_test "print (\$u or_eq 0xaaaa) == (\$v |= 0xaaaa)" "= true" + +gdb_test "set \$u = 0x5a5a" "" +gdb_test "set \$v = 0x5a5a" "" +gdb_test "print (\$u xor_eq 0xaaaa) == (\$v ^= 0xaaaa)" "= true" gdb_exit return 0 |