Go to main content
Oracle® Developer Studio 12.5: Debugging a Program with dbx

Exit Print View

Updated: June 2016
 
 

whereis Command

The whereis command prints all uses of a specified name, or symbolic name of an address. It is valid only in native mode.

The whereis –a command can print the location of an address-expression if the address is from a heap or stack. Note that dbx cannot print the location if the process is not alive or if dbx is working with a core file.

Syntax

whereis name

Print all declarations of name.

whereis -a address-expression

Print location of an address-expression.

where:

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.