在使用线程调试程序期间,我遇到了一个奇怪的错误:
(gdb) info threads
warning: unable to open /proc file '/proc/3663/status'
warning: Can't attach LWP 3663: No child processes
Cannot find new threads: debugger service failed
在调试会话期间我没有收到其他警告。
进程/线程 3663 不存在。
gdb怎么会误解进程/线程的pid呢?我可以做哪些额外的检查来定位问题?