me
/
guix
Archived
1
0
Fork 0

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