;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015, 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
#:use-module (guix build-system gnu)
#:use-module (srfi srfi-1))
-(define-public gdb-8.3
+(define-public gdb-9.1
(package
(name "gdb")
- (version "8.3.1")
+ (version "9.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gdb/gdb-"
version ".tar.xz"))
(sha256
(base32
- "1i2pjwaafrlz7wqm40b4znr77ai32rjsxkpl2az38yyarpbv8m8y"))))
-
- ;; Hide this package so that end users get 'gdb/next' below.
- (properties '((hidden? . #t)))
+ "0dqp1p7w836iwijg1zb4a784n0j4pyjiw5v6h8fg5lpx6b40x7k9"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; FIXME "make check" fails on single-processor systems.
+ #:out-of-source? #t
+
#:modules ((srfi srfi-1)
,@%gnu-build-system-modules)
("readline" ,readline)
("ncurses" ,ncurses)
("guile" ,guile-2.0)
- ("python" ,python)
("python-wrapper" ,python-wrapper)
- ("dejagnu" ,dejagnu)
+ ("source-highlight" ,source-highlight)
;; Allow use of XML-formatted syscall information. This enables 'catch
;; syscall' and similar commands.
("libxml2" ,libxml2)))
(native-inputs
`(("texinfo" ,texinfo)
+ ("dejagnu" ,dejagnu)
("pkg-config" ,pkg-config)))
(home-page "https://www.gnu.org/software/gdb/")
(synopsis "The GNU debugger")
;; <https://bugs.gnu.org/37810>.
(define-public gdb-8.2
(package/inherit
- gdb-8.3
+ gdb-9.1
(version "8.2.1")
(source (origin
(method url-fetch)
(base32
"00i27xqawjv282a07i73lp1l02n0a3ywzhykma75qg500wll6sha"))))))
-;; The "next" version of GDB, to be merged with 'gdb' in the next rebuild cycle.
-(define-public gdb/next
- (package/inherit
- gdb-8.3
- (inputs
- `(("source-highlight" ,source-highlight)
- ,@(package-inputs gdb-8.3)))
- (properties (alist-delete 'hidden? (package-properties gdb-8.3)))))
-
(define-public gdb
;; This is the fixed version that packages depend on. Update it rarely
;; enough to avoid massive rebuilds.
- gdb-8.3)
+ gdb-9.1)
+
+(define-public gdb-9.2
+ (package
+ (inherit gdb)
+ (version "9.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/gdb/gdb-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0mf5fn8v937qwnal4ykn3ji1y2sxk0fa1yfqi679hxmpg6pdf31n"))))))