首页
社区
课程
招聘
CentOS下双进程保护的调试
发表于: 2017-12-11 23:56 2521

CentOS下双进程保护的调试

2017-12-11 23:56
2521
操作系统CentOS6,程序启动后有两个进程,pidof 查看有两个 PID,如1234,1235 小的可以附加,大值的不能附加,求指导
出错提示如下
-bash-4.1# gdb attach 16573
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-92.el6)
Copyright (C) 2010 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 "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
attach: No such file or directory.
Attaching to process 16573
ptrace: Operation not permitted.
/pm/16573: No such file or directory.

这样的保护是怎么回事?有办法调试吗,谢谢指导 

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//