16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

listfuncs subcommand for dbx: Display the list of functions<br />

Format<br />

listfuncs [filename]<br />

Description<br />

The listfuncs subcommand displays a list of functions associated with each file in<br />

the program.<br />

If the listfuncs subcommand is used without arguments, the function for every file in<br />

the program will be listed.<br />

Usage notes<br />

The listfuncs subcommand can be run only while the dbx debug program is<br />

running.<br />

Examples<br />

1. To list all functions in all files, enter:<br />

listfuncs<br />

2. To list the function only for file mypgm.c, enter:<br />

listfuncs mypgm.c<br />

Related Information<br />

The func subcommand.<br />

listi subcommand for dbx: List instructions from the program<br />

Format<br />

listi [procedure | at | sourceline | address ] [,address]<br />

Description<br />

The listi subcommand displays a specified set of instructions from the source file.<br />

The instructions displayed are specified by:<br />

v Providing the procedure argument, in which case the listi subcommand lists<br />

instructions from the beginning of procedure until the list window is filled.<br />

v Using the atsourceline option, in which case the listi subcommand displays<br />

instructions beginning at the specified source line and continuing until the list<br />

window is filled.<br />

v Specifying a beginning and ending address using the address arguments, in<br />

which case all instructions between the two addresses, inclusive, are displayed.<br />

If the listi subcommand is used without options or arguments, the next $listwindow<br />

instructions are displayed. To change the current size of the list window, use the set<br />

$listwindow=value subcommand.<br />

Option<br />

at sourceline<br />

Specifies a starting source line for the listing.<br />

dbx: listfuncs<br />

Usage Note<br />

The listi subcommand can be run only while the dbx debug program is running.<br />

Chapter 2. Shell command descriptions 203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!