Subject: Re: [bug#73615] [PATCH] gnu: gdb: Update to 15.2.

From: "Ashish SHUKLA" <[email-masked]>
Date: Fri, 04 Oct 2024 00:04:27 +0200

On Thu Oct 3, 2024 at 9:36 PM CEST, Greg Hogan wrote:
> On Thu, Oct 3, 2024 at 10:25 AM Ashish SHUKLA via Guix-patches via
> <[email-masked]> wrote:
> >
> > * gnu/packages/gdb.scm (gdb-15): New variable.
> >
> > Change-Id: I5c234c85b904a07e8b7d247e596cd2acf8f54536
> > ---
> >  gnu/packages/gdb.scm | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
> > index 8fc2ec14a1..6146b104af 100644
> > --- a/gnu/packages/gdb.scm
> > +++ b/gnu/packages/gdb.scm
> > @@ -158,6 +158,19 @@ (define-public gdb-14
> >                  "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
> >      (properties '())))
> >
> > +(define-public gdb-15
> > +  (package
> > +    (inherit gdb/pinned)
> > +    (version "15.2")
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (string-append "mirror://gnu/gdb/gdb-"
> > +                                  version ".tar.xz"))
> > +              (sha256
> > +               (base32
> > +                "0k9i8mizg4hby020k53kqmc835pajh9c8d5klv5s1ddm6p6hqdc3"))))
> > +    (properties '())))
> > +
> >  (define-public gdb
> >    ;; The "default" version.
> >    gdb-14)
> >
> > base-commit: 2f0644a8c024f589b9237e1d0fb1ce1025fa522f
> > --
> > 2.46.2
>
> Hi Ashish,
>
> The message summary "gnu: gdb: Update to 15.2." does not match the
> patch, which leaves the default gdb as gdb-14.
>
> Do we want to add gdb-15 or can we replace gdb-14 as was done
> previously (updating gdb 12 to 14 in commit 75bad753)?

Hi Greg,

Thanks for reviewing the diff.

I agree the title of the diff is not quite accurate. Sorry about that.

I'm not sure the point of having an indirect reference, so this is why I
have not updated the `gdb' variable.

Let me know if it's needed. I can revise my commit then.

Thanks!
--
Ashish