diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-04-15 10:49:48 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-04-16 13:07:22 -0700 |
commit | c06ac87783798796a79fb150ebc829ed0d282167 (patch) | |
tree | 94672248b172b54e0ec9e6b1944198b39fef2f3f | |
parent | 2093049f453547ae78e7f786eaaf0220627f26fe (diff) | |
download | dotfiles-c06ac87783798796a79fb150ebc829ed0d282167.tar.gz |
spw/gdbmacs-attach: bind gdb-debuginfod-enable-setting
-rw-r--r-- | .emacs.d/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 3981984a..bf994499 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2544,7 +2544,11 @@ Called by '~/src/dotfiles/bin/emacsclient --spw/update-environment'." (gdb-wait-for-pending (lambda () (let ((default-directory - (expand-file-name "~/src/emacs/primary/"))) + (expand-file-name "~/src/emacs/primary/")) + (gdb-debuginfod-enable-setting + (if (eq gdb-debuginfod-enable-setting 'ask) + nil + gdb-debuginfod-enable-setting))) (gdb (if (setq pid (spw/daemon-pid name)) (format "gdb -i=mi --pid=%d src/emacs" pid) (format "gdb -i=mi --args src/emacs %s" arg)))) |