Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 软件时空 > 软件相关 > 调试程序跟踪fork出来的进程
【标  题】:调试程序跟踪fork出来的进程
【关键字】:fork
【来  源】:http://www.cublog.cn/u/1421/showart.php?id=202492

调试程序跟踪fork出来的进程

Your Ad Here gdb调试fork出来的子进程,通过设置
`set follow-fork-mode MODE'
     Set the debugger response to a program call of `fork' or `vfork'.
     A call to `fork' or `vfork' creates a new process.  The MODE can
     be:

    `parent'
          The original process is debugged after a fork.  The child
          process runs unimpeded.  This is the default.

    `child'
          The new process is debugged after a fork.  The parent process
          runs unimpeded.

    `ask'
          The debugger will ask for one of the above choices.

`show follow-fork-mode'
     Display the current debugger response to a `fork' or `vfork' call.
组织危机征兆100例:【上一篇】
通用php分页类:【下一篇】
【相关文章】
  • vfork,fork区别学习--来自 todaygood.cublog.cn
  • jbpm知识点——fork、join
  • fork、execv 及 waitpid 的例子代码
  • fork()关于处理缓冲区问题!
  • fork函数
  • Apache中预创建Preforking MPM 机制剖析(2)
  • Apache中预创建Preforking MPM 机制剖析(3)
  • Linux程序设计入门 - fork, pthread, and signals
  • c语言fork、exec、wait
  • 有趣的 fork()函数
  • 【随机文章】
  • 两粒沙的爱情
  • 创建 Active Directory
  • 获取sql server Express数据库结构
  • 面向对象设计过程7:应用的用例,第 1 部分
  • Linux Error: 29: Illegal seek
  • Solaris上jdk安装步骤
  • 实现Linux下的互联网过滤功能
  • Web网站的全套软件解决方案
  • 内部窗体设计与窗体定位
  • sendmail配置故障!
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.