Format
listi [procedure | at | sourceline | address ]
[,address]
Description
The
listi subcommand
displays a specified set of instructions from
the source file. The instructions displayed are specified by:
- Providing the procedure argument, in
which case the listi subcommand lists instructions
from the beginning of procedure until the
list window is filled.
- Using the atsourceline option,
in which case the listi subcommand displays
instructions beginning at the specified source line and continuing
until the list window is filled.
- Specifying a beginning and ending address using the address arguments,
in which case all instructions between the two addresses, inclusive,
are displayed.
If the listi subcommand is
used without options or arguments, the next $listwindow instructions
are displayed. To change the current size of the list window, use
the set $listwindow=value subcommand.
Options
- at sourceline
- Specifies a starting source line for the listing.
Usage notes
The listi subcommand
can be run only while the dbx debug program
is running.
Examples
- To list the next 10, or $listwindow,
instructions, enter:
listi
- To list the machine instructions beginning at source line 10,
enter:
listi at 10
- To list the instructions between addresses 0X10000400 and 0X10000420,
enter:
listi 0x10000400, 0x10000420
Related information
The list and set subcommands.