Debugger settings

This commit is contained in:
Wojciech Kozlowski 2023-06-26 08:20:36 +02:00
parent 0dbd262ec4
commit 14c9c0c75d

View File

@ -352,6 +352,18 @@
(use-package! duplicate-thing (use-package! duplicate-thing
:bind (("M-C" . duplicate-thing))) :bind (("M-C" . duplicate-thing)))
;; Debugger.
(use-package! gud
:defer t
:init
(setq-default
;; Use gdb-many-windows by default.
gdb-many-windows t
;; Display source file containing main.
gdb-show-main t)
:config
(setq gud-chdir-before-run nil))
;; P4 programming mode. ;; P4 programming mode.
(use-package! p4_16-mode (use-package! p4_16-mode
:mode (("\\.p4\\'" . p4_16-mode) :mode (("\\.p4\\'" . p4_16-mode)