aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-prog.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init/ycp-prog.el')
-rw-r--r--emacs/.emacs.d/init/ycp-prog.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el
index e2d7451..f77a8bd 100644
--- a/emacs/.emacs.d/init/ycp-prog.el
+++ b/emacs/.emacs.d/init/ycp-prog.el
@@ -81,6 +81,7 @@
(setq gdb-many-windows t)
(setq gdb-default-window-configuration-file
(locate-user-emacs-file "gdb-window-conf"))
+ (setq gdb-debuginfod-enable-setting t)
(require 'my-prog)
(my-keybind global-map
"C-c d q" 'my-gdb-quit
@@ -108,6 +109,9 @@
"C-c C-n" 'comint-next-prompt)
(add-hook 'gud-mode-hook 'my-gud-comint-set-prompt-regexp)
(add-hook 'gud-mode-hook 'company-mode)
+ ;; Don't make this a general comint-mode hook, as it will overwrite
+ ;; bash history rather than append to it.
+ (add-hook 'gud-mode-hook 'my-comint-add-write-history-hook)
)
(my-package my-prog