cuda-gdb can't examine device memory?

Hi,

I’m trying to use cuda-gdb to track down a bug in my device code. I can print the values of variables fine, but when I try to dereference pointers, it doesn’t work:

(cuda-gdb) whatis sed
type = double * const @global
(cuda-gdb) p sed[0]
Cannot access memory at address 0x24b0000

Is this supposed to work? Do I have to give some special option to tell it to look in device memory and not host memory?

This is with CUDA 2.3 on a Fedora 8 x86_64 machine.

Thanks,

/Patrik

Bumping, because it happens to me also on an ubuntu 10.04 x86_64 machine.

Bumping, because it happens to me also on an ubuntu 10.04 x86_64 machine.