-
-
CentOS下双进程保护的调试
-
发表于: 2017-12-11 23:56 2594
-
操作系统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 <9f4K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3N6F1N6g2)9J5k6h3!0J5k6#2)9J5c8X3I4A6j5$3g2F1M7$3g2K6i4K6u0r3k6%4m8D9i4K6u0W2K9s2c8E0L8q4)9J5y4X3N6@1i4K6y4n7
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:
<2b1K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3N6F1N6g2)9J5k6h3!0J5k6#2)9J5c8Y4y4G2k6Y4c8%4j5i4u0W2i4K6u0r3k6$3c8T1i4K6u0r3j5Y4g2Y4M7#2)9J5c8W2)9J5y4X3N6@1i4K6y4n7i4K6u0W2i4K6u0W2i4K6u0W2
attach: No such file or directory.
Attaching to process 16573
ptrace: Operation not permitted.
/pm/16573: No such file or directory.
这样的保护是怎么回事?有办法调试吗,谢谢指导
赞赏
他的文章
赞赏
雪币:
留言: