summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-13 19:04:27 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-14 01:02:46 +0200
commit1a389e8d21b375d5de0a220faf42199ae6102333 (patch)
tree14ceb819832003cf3b750b24fc4d9fff20bc7c73 /gnu
parent5b527256ee8d280ec6f5d445522beb120005ad84 (diff)
downloadguix-1a389e8d21b375d5de0a220faf42199ae6102333.tar.gz
system: Add skeleton '.gdbinit'.
* gnu/system.scm (default-skeletons): Add .gdbinit.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm8
1 files changed, 6 insertions, 2 deletions
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."