Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Examining the Contents of Memory

Using addresses and the examine or x command, you can examine the content of memory locations as well as print the assembly language instruction at each address. Using a command derived from adb(1), the assembly language debugger, you can query for the following:

  • The address, using the = (equal sign) character

  • The contents stored at an address, using the / (slash) character

You can print the assembly commands using the dis command and the listi command.