cuda-gdb bug I found a bug in cuda-gdb while trying to debug my code..

I’m attaching a copy of my kernel code. In debugging my program, I’ve encountered a problem where if I try to display an uninitialized variable gdb crashes. Initializing the same variable removes the problem.

The message I’m received from cuda-gdb is the following:

(cuda-gdb) print i
warning: Unmapped DWARF Register #1915826741 encountered.
/home/buildmeister/build/rel/gpgpu/toolkit/r3.0/debugger/cuda-gdb/gdb/regcache.c:930: internal-error: register_offset_hack: Assertion `regnum >= 0 && regnum < descr->nr_cooked_registers’ failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) (4.66 KB)

What’s the output of cuda-gdb --version?

cuda-gdb --v

NVIDIA ® CUDA Debugger

BETA release

Portions Copyright © 2008,2009 NVIDIA Corporation

GNU gdb 6.6

Copyright © 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type “show copying” to see the conditions.

There is absolutely no warranty for GDB. Type “show warranty” for details.

This GDB was configured as “x86_64-unknown-linux-gnu”.

Question Answered… Looks like I’ll upgrade to a release version…

yeah, I think this has been fixed in 3.0 final.