I’m been fighting with a recent inability to step into device code using cuda-gdb from within Eclipse. When I try to step into or over a device call I get a SIGSEGV Seg Fault error in the debugger. I finally figured out that this only happens when I call cudaSetDeviceFlags(cudaDeviceMapHost). If I do not set that feature I can debug device code.
Note that I’m working with toolkit version 2.2. Is this fixed in the 2.3 beta, or is there some other work around?