Search code examples
cudaeclipse-cdtnsight

Nsight Eclipse : .cuda-gdbinit: No such file or directory


I'm using Cuda 5.0 with two gpu cards on Ubuntu 11.10 with Nsight Eclipse.
When I try to debug a a program from in Eclipse I get

Error in final launch sequence
Failed to execute MI command:
source .cuda-gdbinit
Error message from debugger back end:
.cuda-gdbinit: No such file or directory.
.cuda-gdbinit: No such file or directory.

I looked into Eclipse debug configuration, and I have

GDB debugger: cuda-gdb
GDB command file: .cuda-gdbinit

No where on my system is the file .cuda-gdbinit.
Should I create it? If so, where and with which content?
Is there something wrong with my cuda-gdb setup?


Solution

  • This message is harmless. What Nsight does is explicitly instructs cuda-gdb to read .cuda-gdbinit when starting debug session to pick up any custom settings user might have. It is perfectly fine not to have that file.