From ceff14b7cd4c4923587ba74dc407d724ac27ead0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sun, 7 May 2023 09:29:18 +0800 Subject: [PATCH] gnu: Add gdb-multiarch. * gnu/packages/gdb.scm (gdb-multiarch): New variable. --- gnu/packages/gdb.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 @@ (define-public gdb ;; 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")