summary refs log tree commit diff
path: root/gnu/packages/gdb.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2023-05-07 09:29:18 +0800
committer宋文武 <iyzsong@member.fsf.org>2023-08-28 18:01:07 +0800
commitceff14b7cd4c4923587ba74dc407d724ac27ead0 (patch)
treec0a82789aa234aa206b9813cf99a15e81ead6142 /gnu/packages/gdb.scm
parent058ce073da2c3c7de7449f7296d262178e3a929f (diff)
downloadguix-ceff14b7cd4c4923587ba74dc407d724ac27ead0.tar.gz
gnu: Add gdb-multiarch.
* gnu/packages/gdb.scm (gdb-multiarch): New variable.
Diffstat (limited to 'gnu/packages/gdb.scm')
-rw-r--r--gnu/packages/gdb.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 34d081dc9e..d3881ed9d7 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -162,6 +162,19 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
   ;; The "default" version.
   gdb-12)
 
+(define-public gdb-multiarch
+  (package/inherit gdb-12
+    (name "gdb-multiarch")
+    (arguments
+     `(#:configure-flags
+       (list "--enable-targets=all"
+             "--enable-multilib"
+             "--enable-interwork"
+             "--enable-languages=c,c++"
+             "--disable-nls")
+       ,@(package-arguments gdb-12)))
+    (synopsis "The GNU debugger (with all architectures enabled)")))
+
 (define-public gdb-minimal
   (package/inherit gdb-12
     (name "gdb-minimal")