I have followed the documentation : https://docs.nvidia.com/cuda/cuda-gdb/index.html#gui-integration
I have added the three lines below:
(setenv "PATH" (concat (getenv "PATH")":/usr/local/cuda-10.0/bin/cuda-gdb"))
setq exec-path (append exec-path '("/usr/local/cuda-10.0/bin/cuda-gdb")))
setq gud-gdb-command-name "cuda-gdb --annotate=3")
- is my setting all complete? The above is the only thing I did to emacs.
- how do I open cuda-gdb s.t. it uses emacs? I read that, with emacs open, `M-x gud-gdb’ can be used, but it opens the regular gdb , not cuda-gdb.