From 593ae9806cd813f8661a379c3d76f950cfe761d7 Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 13 Jun 2022 08:01:27 +0200 Subject: [PATCH] Add gdb interface to the C/C++ mode --- lisp/modes/c-c++.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/modes/c-c++.el b/lisp/modes/c-c++.el index 7f2876e..5fdf868 100644 --- a/lisp/modes/c-c++.el +++ b/lisp/modes/c-c++.el @@ -116,6 +116,15 @@ of FILE in the current directory, suitable for creation" ) ;;; (Packages) ;;; + + (use-package gdb-mi + :quelpa (gdb-mi :fetcher git + :url "https://github.com/weirdNox/emacs-gdb.git" + :files ("*.el" "*.c" "*.h" "Makefile")) + :init + (fmakunbound 'gdb) + (fmakunbound 'gdb-enable-debug)) + ;; https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/cc-vars.el ;; user customization variables for CC Mod (use-package cc-vars