debug in device emulation mode

Hello, when I try to compile the Fortran CUDA sample in device emulation mode with -G option
(debug mode), I got the following error:

nvcc -c -G -deviceemu
ptxas /tmp/tmpxft_00006544_00000000-8.ptx, line 182; fatal : Parsing error near ‘.’: syntax error
ptxas fatal : Ptx assembly aborted due to errors
make: *** [Cuda_function.o] Error 255

If I remove the -G option the program compiles (and runs) fine.
I have the following set up.
NVIDIA toolkit: NVIDIA_CUDA_Toolkit_1.1_rhel4.5_x86_64

uname -a:
Linux 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

gcc -v:
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj- --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)

Is this a know problem or I am missing something?
Any help is really appreciated. Thanks in advance!

You need to use:
nvcc -c -g -deviceemu

The flag “-G” will be need for the real GPU debugging (coming soon).

Great news! ;)