gnu: gdb: Update to 14.1.

* gnu/packages/gdb.scm (gdb-12): Rename to ...
(gdb-14): ... and update to 14.1.
(avr-gdb, gdb-minimal, gdb-multiarch): Inherit from GDB-14.

Change-Id: I1396ba885fc97a8b0387a4b8e4c04ff018eba23f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Greg Hogan 2024-01-30 18:05:16 +00:00 committed by Ludovic Courtès
parent 3f0efd6a58
commit 75bad75367
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 9 deletions

View File

@ -145,25 +145,25 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
(properties `((hidden? . #t)))
(license gpl3+)))
(define-public gdb-12
(define-public gdb-14
(package
(inherit gdb/pinned)
(version "12.1")
(version "14.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gdb/gdb-"
version ".tar.xz"))
(sha256
(base32
"1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
"106v7rj72km56mb2ssjsyjfix3yn4f3wqr7lpzy52d0lfq9gavfn"))))
(properties '())))
(define-public gdb
;; The "default" version.
gdb-12)
gdb-14)
(define-public gdb-multiarch
(package/inherit gdb-12
(package/inherit gdb-14
(name "gdb-multiarch")
(arguments
`(#:configure-flags
@ -172,17 +172,17 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
"--enable-interwork"
"--enable-languages=c,c++"
"--disable-nls")
,@(package-arguments gdb-12)))
,@(package-arguments gdb-14)))
(synopsis "The GNU debugger (with all architectures enabled)")))
(define-public gdb-minimal
(package/inherit gdb-12
(package/inherit gdb-14
(name "gdb-minimal")
(inputs (fold alist-delete (package-inputs gdb)
'("libxml2" "ncurses" "python-wrapper" "source-highlight")))))
(define-public avr-gdb
(package/inherit gdb-12
(package/inherit gdb-14
(name "avr-gdb")
(arguments
`(#:configure-flags
@ -191,7 +191,7 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
"--enable-languages=c,c++"
"--with-system-readline"
"--enable-source-highlight")
,@(package-arguments gdb-12)))
,@(package-arguments gdb-14)))
(synopsis "The GNU Debugger for AVR")
(description
"GDB is the GNU debugger. With it, you can monitor what a program is