小编lxu*_*net的帖子

gdb可以附加一个僵尸进程(<defunct>)吗?

我有一个以僵尸进程运行的程序.我想调试它.但我得到了一个gdb错误.

mobile:/usr/local/ads5/bin# ps axf | grep ads_resolver
 5583 pts/2    S      0:00 ./ads_resolver main.cfg
 5584 pts/2    Zl     0:36  \_ [ads_resolver] <defunct>

mobile:/usr/local/ads5/bin# gdb ads_resolver 5584
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Attaching …
Run Code Online (Sandbox Code Playgroud)

gdb daemon zombie-process

2
推荐指数
1
解决办法
3421
查看次数

标签 统计

daemon ×1

gdb ×1

zombie-process ×1