Subject: [bug#56784] [PATCH] gnu: Add gdb-12.

From: Greg Hogan <[email-masked]>
Date: Tue, 26 Jul 2022 17:02:16 +0000

* gnu/packages/gdb.scm (gdb-12): New variable.
---
 gnu/packages/gdb.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index aa9e479e46..7d8416c7c5 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -149,6 +149,18 @@ (define-public gdb-11
 written in C, C++, Ada, Objective-C, Pascal and more.")
     (license gpl3+)))
 
+(define-public gdb-12
+  (package
+    (inherit gdb-11)
+    (version "12.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnu/gdb/gdb-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))))
+
 (define-public gdb
   ;; This is the fixed version that packages depend on.  Update it rarely
   ;; enough to avoid massive rebuilds.
-- 
2.37.1