Sun Studio 12: Debugging a Program With dbx


whereis name

Print all declarations of name.

whereis -a address_expression

Print location of an address_expression.


name is the name of a loadable object that is in scope; for example, a variable, function, class template, or function template.

address is any expression resulting in or usable as an address.