From 1a389e8d21b375d5de0a220faf42199ae6102333 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 13 May 2014 19:04:27 +0200 Subject: system: Add skeleton '.gdbinit'. * gnu/system.scm (default-skeletons): Add .gdbinit. --- gnu/system.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/system.scm b/gnu/system.scm index ce5aad22bb..fae8fe44a1 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -253,10 +253,14 @@ test -f /etc/profile && source /etc/profile\n")) '((guix build utils)))) (xdefaults (text-file "Xdefaults" "\ XTerm*utf8: always -XTerm*metaSendsEscape: true\n"))) +XTerm*metaSendsEscape: true\n")) + (gdbinit (text-file "gdbinit" "\ +# Tell GDB where to look for separate debugging files. +set debug-file-directory ~/.guix-profile/lib/debug\n"))) (return `((".bashrc" ,bashrc) (".Xdefaults" ,xdefaults) - (".guile-wm" ,guile-wm))))) + (".guile-wm" ,guile-wm) + (".gdbinit" ,gdbinit))))) (define (skeleton-directory skeletons) "Return a directory containing SKELETONS, a list of name/derivation pairs." -- cgit 1.4.1