我要评分
获取效率
正确性
完整性
易理解

GDB Debugging Failure in Attach to Process Mode

Symptom

In GDB 7.6, CUDA application debugging in attach to process mode fails.

Figure 1 Debugging failure

Possible Causes

The GDB version in use is 7.6, which is too early.

Procedure

Go to the GDB official website and replace the GDB version.