Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
binutils-gdb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastien Michelland
binutils-gdb
Commits
0cd53049
Commit
0cd53049
authored
16 years ago
by
Jan Kratochvil
Browse files
Options
Downloads
Patches
Plain Diff
* gdb.cp/punctuator.exp: Backslash the '$' signs.
parent
fa99fab2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gdb/testsuite/ChangeLog
+4
-0
4 additions, 0 deletions
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/punctuator.exp
+12
-12
12 additions, 12 deletions
gdb/testsuite/gdb.cp/punctuator.exp
with
16 additions
and
12 deletions
gdb/testsuite/ChangeLog
+
4
−
0
View file @
0cd53049
2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/punctuator.exp: Backslash the '$' signs.
2008-12-22 Tom Tromey <tromey@redhat.com>
* gdb.cp/punctuator.exp: New file.
...
...
This diff is collapsed.
Click to expand it.
gdb/testsuite/gdb.cp/punctuator.exp
+
12
−
12
View file @
0cd53049
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment