|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
The examine command shows memory contents. It is valid only in native mode.
Display the contents of memory starting at address for count items in format format.
Display the contents of memory from address1 through address2 inclusive, in format format.
Display the address (instead of the contents of the address) in the given format.
The address may be +, which indicates the address just after the last one previously displayed (the same as omitting it).
x is a predefined alias for examine.
address is the address at which to start displaying memory contents. The default value of address is the address after the address whose contents were last displayed. This value is shared by the dis command (see dis Command).
address1 is the address at which to start displaying memory contents.
address2 is the address at which to stop displaying memory contents.
count is the number of addresses from which to display memory contents. The default value of count is 1.
format is the format in which to display the contents of memory addresses. The default format is X (hexadecimal) for the first examine command, and the format specified in the previous examine command for subsequent examine commands. The following values are valid for format:
octal (2 or 4 bytes)
hexadecimal (2 or 4 bytes)
octal (1 byte)
wide character string
hexadecimal and floating point (4 bytes, 6 digit precision)
hexadecimal and floating point (8 bytes, 14 digit precision )
same as F
hexadecimal and floating point (16 bytes, 14 digit precision)
decimal (4 bytes, same as D)
octal 94 bytes, same as O
hexadecimal (4 bytes, same as X)
decimal (8 bytes)
octal (8 bytes)
hexadecimal (8 bytes)