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.

|<br />

|<br />

|<br />

dbx<br />

Attach-types<br />

Options<br />

this phase of the dbx startup process. Any subcommands in the .dbxinit file are<br />

executed just before the dbx prompt is displayed.<br />

You can use the man command to view descriptions of dbx subcommands. To do<br />

this, you must prefix all subcommands with dbx. For example, to view a description<br />

of the dbx alias subcommand, you would enter the following:<br />

man dbxalias<br />

–a ProcessID<br />

Attaches the debug program to a running process. The debug program<br />

becomes active as soon as the process wakes up. To attach the debug<br />

program, you need authority to use the kill command on this process.<br />

–A ProcessID<br />

Reattaches the debug program to a running process that is already being<br />

debugged by dbx. Use this option to reattach a child process that was<br />

created when a debugged parent process did a fork while multiprocess<br />

debugging mode was active. To reattach to the debug program, you need<br />

authority to use the kill command on this process.<br />

-b Suppresses processing of .dbxsetup and .dbxinit files (bare startup).<br />

–c script<br />

Runs dbx subcommands from a specified script file before reading from<br />

standard input.<br />

–C dump–filename<br />

Puts dbx in dump reading (core file) processing mode.<br />

–d Deprecated. This option will be ignored and remains only for compatibility<br />

purposes.<br />

–f Deprecated. This option will be ignored and remains only for compatibility<br />

purposes.<br />

–F Starts debug target in a different address space than the one dbx currently<br />

resides in; or starts dbx in its own address space when attaching to a<br />

running target program.<br />

–h Prints the dbx command syntax.<br />

–I directory<br />

Appends the given directory to the list of directories searched for source<br />

and debug files. The default list contains the working directory and the<br />

directory containing the object files. The search path can also be set with<br />

the use subcommand.<br />

–m dbxmode<br />

Instructs dbx to start in a specific mode:<br />

v Specifying –m4 forces dbx to run in 31-bit mode, even on a machine<br />

capable of running it in 64-bit mode.<br />

v Specifying –m8 forces dbx to run in 64-bit mode. If this is impossible,<br />

dbx will terminate.<br />

-p ipaddress | name[:port]<br />

Tells dbx to open a socket and connect to the ipAddress:port or<br />

machineName:port which is assumed to be a GUI that supports remote<br />

184 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!