title: cuda-gdb not working in nsight on linux
body: <p>I installed cuda 5 in my Ubuntu 12.10 and it is working well, I can compile and debug through cuda-gdb in terminal as well. I'm trying to use nsight, it compiles and executes my code with no issues, but when I try to debug I got the following error</p>
  
  <pre><code>Error in final launch sequence
  Failed to execute MI command:
  -gdb-set cuda api_failures ignore
  Error message from debugger back end:
  Undefined set cuda command: "api_failures ignore".  Try "help set cuda".
  Undefined set cuda command: "api_failures ignore".  Try "help set cuda".
  </code></pre>
  
  <p>I'm using ubuntu 12.10 64 bits and launching cuda executables and nsight with optirun (bumblebee) because I have a GTX 675M (optimus). I installed cuda-gdb throught apt-get, I got version 4.2:</p>
  
  <pre><code>frederico@zeus:~/Dropbox/coisas/projetos/delta_cuda$ cuda-gdb --version
  NVIDIA (R) CUDA Debugger
  4.2 release
  Portions Copyright (C) 2007-2012 NVIDIA Corporation
  GNU gdb (GDB) 7.2
  </code></pre>
  
  <p>I think this is not a problem since I can use it alone (without nsight). I changed nsight to launch cuda-gdb with optirun as well, keep receiving the same error. </p>