Sun Studio 12: Debugging a Program With dbx

rprint Command

The rprint command prints an expression using shell quoting rules. It is valid only in native mode.


rprint [-r|+r|-d|+d|-p|+p|-L|-l|-f format | -Fformat | -- ] expression

Print the value of the expression. No special quoting rules apply, so rprint a > b puts the value of a (if it exists) into file b (see print Command for the meanings of the flags).


expression is the expression whose value you want to print.

format is the output format you want used to print the expression. For information on valid formats, see print Command.