Sun Studio 12: Debugging a Program With dbx

Variables Outside the Scope of the Current Function

When you want to evaluate or monitor a variable outside the scope of the current function: