---
title: GDB调试Attach to Process模式失败的解决方法
description: "GDB7.6版本下，CUDA应用使用Attach to Process模式调试，调试页面无效果。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengdevps/debugging/debugger/DevKit_Debugger_00030.html
sourcePath: /source/zh/kunpengdevps/debugging/debugger/DevKit_Debugger_00030.html
indexId: 81c092e1ca2468abb5dc1d701800b04b142253dda05f2fd133716ed8340fff5c69
---
# GDB调试Attach to Process模式失败的解决方法

#### 现象描述

GDB7.6版本下，CUDA应用使用Attach to Process模式调试，调试页面无效果。

图1 调试无效果


#### 可能原因

GDB版本过低（GDB版本为7.6）。


#### 处理步骤

请前往GDB官网(https://www.sourceware.org/gdb/)更换GDB版本。
