Enable GDB many windows

gdb-many-windows enables an IDE like debugger frontend for Emacs.
This commit is contained in:
Tu Do 2015-05-29 10:42:01 +07:00 committed by syl20bnr
parent 94a42afc45
commit da85d514fc

View file

@ -19,6 +19,7 @@
company-c-headers
company-ycmd
flycheck
gdb-mi
helm-gtags
semantic
srefactor
@ -113,6 +114,16 @@
(defun c-c++/post-init-flycheck ()
(add-to-hooks 'flycheck-mode '(c-mode-hook c++-mode-hook)))
(defun c-c++/init-gdb-mi ()
(use-package gdb-mi
:defer t
:init
(setq
;; use gdb-many-windows by default when `M-x gdb'
gdb-many-windows t
;; Non-nil means display source file containing the main routine at startup
gdb-show-main t)))
(defun c-c++/post-init-helm-gtags ()
(spacemacs/helm-gtags-define-keys-for-mode 'c-mode)
(spacemacs/helm-gtags-define-keys-for-mode 'c++-mode))