I am trying the walking-through example in CUDA-GDB manual, and follow exactly the same compilation command. I am using CUDA-4 on Fermi M2090, and CUDA-GDB failed with the following message when I type "run" under GDB environment:
/home/buildmeister/build/rel/gpgpu/toolkit/r4.1/debugger/cuda-gdb/7.2/gdb/cuda-tdep.c:1203: internal-error: cuda_get_bfd_abi_version: Assertion `CUDA_ELFOSABIV_16BIT <= abiv && abiv <= CUDA_ELFOSABIV_LATEST' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.