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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

dbx: whatis<br />

Usage notes<br />

1. Variables declared with the const attribute (in your C program) are displayed<br />

without the const attribute.<br />

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

running.<br />

Examples<br />

1. To display the declaration of the x variable, enter:<br />

whatis x<br />

2. To display the declaration of the main function, enter:<br />

whatis main<br />

3. To display the declaration of the x variable within the main function, enter:<br />

whatis main.x<br />

4. To display the declaration of a specific condition variable, $c1, enter:<br />

whatis $c1<br />

5. To display the declaration of a specific mutex object, $m1, enter:<br />

whatis $m1<br />

6. To display the declaration of a specific thread, $t1, enter:<br />

whatis $t1<br />

where subcommand for dbx: List active procedures and functions<br />

Format<br />

where [>file]<br />

Description<br />

The where subcommand displays a list of active procedures and functions. By<br />

using the >file option, you can redirect the output of this subcommand to the<br />

specified file.<br />

Options<br />

>flag Redirects output to the specified file.<br />

Usage Note<br />

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

Example<br />

To display the list of active routines, enter:<br />

where<br />

Related Information<br />

The up and down subcommands.<br />

whereis subcommand for dbx: Display the full qualifications of<br />

symbols<br />

Format<br />

whereis identifier<br />

228 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!