Chinaunix首页 | 论坛 | 博客
  • 博客访问: 346044
  • 博文数量: 9
  • 博客积分: 4516
  • 博客等级: 上校
  • 技术积分: 795
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-25 23:58
文章分类

全部博文(9)

文章存档

2010年(1)

2008年(8)

分类: BSD

2008-04-27 23:54:13

PMDB(1)                    OpenBSD Reference Manual                    PMDB(1)

NAME
     pmdb - debugger

SYNOPSIS
     pmdb [-c core] [-p pid] program ...

DESCRIPTION
     The pmdb utility can be used to see what is happening inside a running
     process or to catch program crashes and examine the state at the time of
     the crash.  The only way to start pmdb at this moment is to specify the
     name of the program to be debugged and all its arguments on the command
     line.  Optionally, -c can be used to specify a core file to examine.  It
     is also possible to debug a process that is already running by specifying
     the process's PID to the -p 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.  The program is controlled from a command line
     which usually gives the prompt "pmdb>".

PROCESS STATES
     A loaded program can be in one of three possible states:

...

阅读(2506) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~