version 1.12, 2003/03/22 08:07:12 |
version 1.13, 2003/06/10 09:12:11 |
|
|
.\" $OpenBSD$ |
.\" $OpenBSD$ |
.\" |
.\" |
.\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org> |
.\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org> |
.\" All rights reserved. |
.\" All rights reserved. |
.\" |
.\" |
.\" Redistribution and use in source and binary forms, with or without |
.\" Redistribution and use in source and binary forms, with or without |
.\" modification, are permitted provided that the following conditions |
.\" modification, are permitted provided that the following conditions |
.\" are met: |
.\" are met: |
.\" |
.\" |
.\" 1. Redistributions of source code must retain the above copyright |
.\" 1. Redistributions of source code must retain the above copyright |
.\" notice, this list of conditions and the following disclaimer. |
.\" notice, this list of conditions and the following disclaimer. |
.\" 2. The name of the author may not be used to endorse or promote products |
.\" 2. The name of the author may not be used to endorse or promote products |
.\" derived from this software without specific prior written permission. |
.\" derived from this software without specific prior written permission. |
.\" |
.\" |
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
.\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
|
.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
.\" |
.\" |
.Dd February 20, 2002 |
.Dd February 20, 2002 |
.Dt PMDB 1 |
.Dt PMDB 1 |
|
|
.Nm |
.Nm |
at this moment is to specify the name of the program to be debugged and all |
at this moment is to specify the name of the program to be debugged and all |
its arguments on the command line. |
its arguments on the command line. |
Optionally, |
Optionally, |
.Fl c |
.Fl c |
can be used to specify a core file to examine. |
can be used to specify a core file to examine. |
It is also possible to debug a process that is already running by specifying |
It is also possible to debug a process that is already running by specifying |
the process's PID to the |
the process's PID to the |
.Fl p |
.Fl p |
flag. This causes the process to be put in STOPPED state until execution |
flag. |
|
This causes the process to be put in STOPPED state until execution |
is resumed either by an explicit command to pmdb or by exiting pmdb. |
is resumed either by an explicit command to pmdb or by exiting pmdb. |
The program is controlled from a command line which usually gives the |
The program is controlled from a command line which usually gives the |
prompt "pmdb>". |
prompt "pmdb>". |
|
|
Unless a signal is ignored with the |
Unless a signal is ignored with the |
.Ic signal ignore |
.Ic signal ignore |
command, it will be caught by |
command, it will be caught by |
.Nm |
.Nm |
and the process will go into the |
and the process will go into the |
.Ic STOPPED |
.Ic STOPPED |
state. |
state. |