[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB-multiarch
From: |
宋文武 |
Subject: |
Re: GDB-multiarch |
Date: |
Mon, 28 Aug 2023 19:04:50 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Ekaitz Zarraga <ekaitz@elenq.tech> 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.
- GDB-multiarch, Ekaitz Zarraga, 2023/08/27
- Re: GDB-multiarch,
宋文武 <=