You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.3 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages gdb)
  19. #:use-module (gnu packages ncurses)
  20. #:use-module (gnu packages readline)
  21. #:use-module (gnu packages dejagnu)
  22. #:use-module (gnu packages texinfo)
  23. #:use-module (gnu packages multiprecision)
  24. #:use-module (gnu packages xml)
  25. #:use-module (gnu packages python)
  26. #:use-module ((guix licenses) #:select (gpl3+))
  27. #:use-module (guix packages)
  28. #:use-module (guix download)
  29. #:use-module (guix build-system gnu))
  30. (define-public gdb
  31. (package
  32. (name "gdb")
  33. (version "7.5")
  34. (source (origin
  35. (method url-fetch)
  36. (uri (string-append "mirror://gnu/gdb/gdb-"
  37. version ".tar.bz2"))
  38. (sha256
  39. (base32
  40. "0chrws5ga90b50kp06yll6zy42fhnx9yr87r4i7swsc369fc8y6i"))))
  41. (build-system gnu-build-system)
  42. (arguments
  43. '(#:phases (alist-cons-after
  44. 'configure 'post-configure
  45. (lambda _
  46. (patch-makefile-SHELL "gdb/gdbserver/Makefile.in"))
  47. %standard-phases)))
  48. (inputs
  49. `(("expat" ,expat)
  50. ("mpfr" ,mpfr)
  51. ("gmp" ,gmp)
  52. ("readline" ,readline)
  53. ("ncurses" ,ncurses)
  54. ("python" ,python)
  55. ("texinfo" ,texinfo)
  56. ("dejagnu" ,dejagnu)))
  57. (home-page "http://www.gnu.org/software/gdb/")
  58. (synopsis "GDB, the GNU Project debugger")
  59. (description
  60. "GDB, the GNU Project debugger, allows you to see what is going
  61. on `inside' another program while it executes -- or what another
  62. program was doing at the moment it crashed.")
  63. (license gpl3+)))