Ekaitz Zarraga <[email protected]> writes: > Hi all, > > As you might know I'm talking part on the RISC-V bootstrapping efforts in > Guix. > This makes me need a multi-architecture GDB. So I made this simple package: > > ``` scheme > (define-module (gdb) > #:use-module (gnu packages) > #:use-module (gnu packages gdb) > #:use-module ((guix licenses) #:select (gpl3+)) > #:use-module (guix packages) > #:use-module (guix utils)) > > (define-public gdb-multiarch-12 > (package > (inherit gdb/pinned) > (name "gdb-multiarch") > (version "12.1") > (arguments > `(#:configure-flags > (list "--enable-targets=all") > ,@(package-arguments gdb-12))) > (properties '()))) > > (define-public gdb-multiarch gdb-multiarch-12) > ``` > > We could think about upstreaming it, probably replacing the output `gdb` > binary > with `gdb-multiarch` as I think Debian does. > > I think this might be interesting for many others. > > WDYT? > > > ElenQ Technology > Ethical Innovation
Hello, I have pushed one 'gdb-multiarch' into master as commit ceff14b7cd4. It have different arguments, which I copied from other places.. +(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)"))) Does it works for you? Thanks.
