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 />

|<br />

|<br />

Example<br />

To change the next line to be listed to line 12, enter:<br />

move 12<br />

To change the next line to be listed to be the function main, enter:<br />

move main<br />

To display the current line number, enter :<br />

move<br />

Related Information<br />

The list subcommand.<br />

multproc subcommand for dbx: Enable or disable multiprocess<br />

debugging<br />

Format<br />

multproc<br />

multproc [on]<br />

multproc [off]<br />

multproc [parent]<br />

multproc [child]<br />

Description<br />

The multproc subcommand alters the way dbx behaves when the process that is<br />

being debugged issues a fork() runtime call. By default, multiprocess debugging is<br />

disabled when dbx is started. If no options are specified, the multproc<br />

subcommand returns the current status of multiprocess debugging.<br />

Options<br />

on dbx will notify the user that a fork has occurred, provide the PID of the new<br />

child process, and follow the parent process.<br />

off dbx will ignore any forks that occur.<br />

parent<br />

dbx will notify the user that a fork has occurred and follow the parent<br />

process.<br />

child dbx will notify the user that a fork has occurred and follow the child<br />

process.<br />

Usage Note<br />

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

running.<br />

v The multproc subcommand is not supported in GUI (socket) mode (-p).<br />

Examples<br />

1. To check the current status of multiprocess debugging, enter:<br />

multproc<br />

2. To have dbx notify the user that the process being debugged has forked, enter:<br />

multproc on<br />

3. To have dbx ignore all forks by the process being debugged, enter:<br />

multproc off<br />

Related Information<br />

The fork() function.<br />

dbx: move<br />

Chapter 2. Shell command descriptions 205

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

Saved successfully!

Ooh no, something went wrong!