Some debugger commands, such as the print
command, take programming language expressions as arguments. This
may cause a problem if the programming language's syntax conflicts
with the debugger's command language syntax.
For example, a conflict occurs if you use a valid option to
a debugger command, such as -hex,
within a program expression.
You can usually resolve syntax conflicts by enclosing expressions
that are used as arguments in parentheses. Consider the following
print commands:
- print (abc -hex)
Prints the value of abc
minus the value of hex.
- print abc -hex
Prints the value of abc
in hexadecimal.