diff --git a/.config/emacs/init.org b/.config/emacs/init.org index 190e31d..61edafe 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -2361,6 +2361,16 @@ and there's no need for a middle-man when it's already been implemented. :dap-compilation "cargo build" :dap-compilation-dir "${workspaceFolder}")) #+end_src +*** GDB/GUD +#+begin_src emacs-lisp +(setq gdb-many-windows t) +(setq gud-tooltip-dereference t) + +(defun hook-gud-mode () + (define-key gud-global-map (kbd "C-c") #'gud-cont) + (define-key gud-global-map (kbd "C-r") #'gud-run)) +(add-hook 'gud-mode-hook #'hook-gud-mode) +#+end_src ** org-mode *** General #+begin_src emacs-lisp