Download cuda-gdb Debugger. User Manual
Transcript
Chapter 04 : CUDA-GDB E XTENSIONS Initialization File The initialization file for CUDA‐GDB is named .cuda-gdbinit and follows the same rules as the standard .gdbinit file used by GDB. The initialization file may contain any CUDA‐ GDB command. Those commands will be processed in order when CUDA‐GDB is launched. GUI Integration Emacs CUDA‐GDB works with GUD in Emacs and XEmacs . No extra step is required other than pointing to the right binary. To use CUDA‐GDB, the ʹgud‐gdb‐command‐nameʹ variable must be set to ʺcuda‐gdb ‐‐ annotate=3ʺ. Use M‐x customize‐variable to set the variable. Ensure that cuda‐gdb is present in the Emacs/XEmacs $PATH. DDD CUDA‐GDB works with DDD. To use DDD with CUDA‐GDB, launch DDD with the following command: ddd --debugger cuda-gdb cuda‐gdb must be in your $PATH. CUDA-GDB DU-05227-001_V4.1 | 13