guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 6fcd6631b0de67fcef315142c0bf978109e6a429
Author: Andreas Enge <[email protected]>
AuthorDate: Tue Jul 15 20:05:16 2025 +0200

    gnu: gdb: Swap inheritance between gdb@12 and gdb@14.
    
    This does not change the derivations, but will make it easier to drop
    the older version.
    
    * gnu/packages/gdb.scm (gdb/pinned): Inherit from...
    (gdb-14): ...this instead of vice versa.
    
    Change-Id: I3e55e92edeba5710ba45e1d846eab6860e8c9436
---
 gnu/packages/gdb.scm | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index e09acd3914..2966b8f87e 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -47,19 +47,17 @@
   #:use-module ((guix build utils) #:select (alist-replace))
   #:use-module (srfi srfi-1))
 
-(define-public gdb/pinned
-  ;; This is the fixed version that packages depend on.  Update it rarely
-  ;; enough to avoid massive rebuilds.
+(define-public gdb-14
   (package
     (name "gdb")
-    (version "12.1")
+    (version "14.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/gdb/gdb-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
+                "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
     (build-system gnu-build-system)
     (outputs '("out" "debug"))
     (arguments
@@ -148,21 +146,22 @@ doing while it runs or what it was doing just before a 
crash.  It allows you
 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.")
-    (properties `((hidden? . #t)))
     (license gpl3+)))
 
-(define-public gdb-14
+(define-public gdb/pinned
+  ;; This is the fixed version that packages depend on.  Update it rarely
+  ;; enough to avoid massive rebuilds.
   (package
-    (inherit gdb/pinned)
-    (version "14.2")
+    (inherit gdb-14)
+    (version "12.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/gdb/gdb-"
                                   version ".tar.xz"))
               (sha256
                (base32
-                "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
-    (properties '())))
+                "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
+    (properties `((hidden? . #t)))))
 
 (define-public gdb-15
   (package

Reply via email to