From a8e7ba75366f6f49e50c4348ab4057b7789e1e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 13 May 2019 10:09:36 +0200 Subject: [PATCH] gnu: gdb: Add version 8.3. * gnu/packages/gdb.scm (gdb): Rename to... (gdb-8.2): ... this. (gdb-8.3): New variable. (gdb): Define as an alias for GDB-8.2. --- gnu/packages/gdb.scm | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm index e9df33e3fc..5697664491 100644 --- a/gnu/packages/gdb.scm +++ b/gnu/packages/gdb.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2019 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015, 2016 Efraim Flashner ;;; @@ -34,7 +34,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu)) -(define-public gdb +(define-public gdb-8.2 (package (name "gdb") (version "8.2.1") @@ -105,3 +105,20 @@ to specify the runtime conditions, to define breakpoints, and to change how the program is running to try to fix bugs. It can be used to debug programs written in C, C++, Ada, Objective-C, Pascal and more.") (license gpl3+))) + +(define-public gdb-8.3 + (package + (inherit gdb-8.2) + (version "8.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gdb/gdb-" + version ".tar.xz")) + (sha256 + (base32 + "0bnpzz0rl672xg5547q5qck2sxi6cnyixmk8bbb4gifw17ipwbw0")))))) + +(define-public gdb + ;; This is the fixed version that packages depend on. Update it rarely + ;; enough to avoid massive rebuilds. + gdb-8.2)