Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Using the dis Command

The dis command is equivalent to the examine command with i as the default display format.

The syntax for the dis command is:

dis [address] [address1, address2] [/count]

    The dis command operates as follows:

  • Without arguments displays 10 instructions starting at +

  • With the address argument only, disassembles 10 instructions starting at address

  • With the address argument and a count, disassembles count instructions starting at address

  • With the address1 and address2 arguments, disassembles instructions from address1 through address2

  • With only a count, displays count instructions starting at +