Commit graph

79 commits

Author SHA1 Message Date
Greg Hogan
2eb2501d66
gnu: Add gdb-12.
* gnu/packages/gdb.scm (gdb-12): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-08-03 17:43:29 +02:00
Jan (janneke) Nieuwenhuizen
b1fd953114
gnu: gdb: Build fix for the Hurd.
This allows (cross-)building gdb-minimal for the Hurd.

* gnu/packages/patches/gdb-fix-gnu-nat-build.patch: New file, taken from
upstream.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (gdb)[inputs]: When building for the Hurd, add it.
[arguments]: When building for the Hurd, apply it.
2021-11-21 22:27:14 +01:00
Maxim Cournoyer
2fc08ccde4
gnu: gdb: Update to 11.1 and remove gdb-9.2.
* gnu/packages/gdb.scm (gdb-10): Rename to...
(gdb-11): ... and update.  Update comment about disabled tests.
[origin]: Delete patch, integrated  upstream.
(gdb-9.2): Delete variable, no longer used.
(gdb): Set alias to gdb-11.
* gnu/packages/patches/gdb-hurd.patch: Delete file.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer
8a613f9d4e
gnu: gdb: Normalize indentation.
* gnu/packages/gdb.scm (gdb-10): Fix indentation and remove extraneous
newlines.  Remove trailing #t.
(gdb-minimal): Fix indentation.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
41f058d10d
gnu: gdb: Patch references to /bin/sh and add debug output.
* gnu/packages/gdb.scm (gdb-10)[outputs]: Add a debug output.
[phases]{patch-paths}: New phase.
[inputs]: Add bash.
(gdb-9.2)[phases]{patch-paths}: Override phase.
2021-11-11 10:31:32 -05:00
Mathieu Othacehe
f4d3e7b82b
gnu: gdb: Fix cross-compilation for Hurd.
* gnu/packages/patches/gdb-hurd.patch: Update it.
* gnu/packages/gdb.scm (gdb)[source]: Add it.
2021-10-05 19:20:25 +00:00
Thiago Jung Bauermann
ed756b4709
gnu: gdb-9.2: Fix build with GCC 10 on powerpc64le-linux.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gdb.scm (gdb-9.2)[source]: Use it.
2021-10-01 09:42:54 +00:00
Marius Bakke
f034264204
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/bioinformatics.scm
	gnu/packages/django.scm
	gnu/packages/gtk.scm
	gnu/packages/llvm.scm
	gnu/packages/python-web.scm
	gnu/packages/python.scm
	gnu/packages/tex.scm
	guix/build-system/asdf.scm
	guix/build/emacs-build-system.scm
	guix/profiles.scm
2021-05-09 21:29:46 +02:00
Efraim Flashner
accb9fe6ac
gnu: gdb-10: Update to 10.2.
* gnu/packages/gdb.scm (gdb-10): Update to 10.2.
2021-04-26 14:51:14 +03:00
Maxim Cournoyer
aa548d2469
gnu: gdb-8.2.1: Update to 9.2.
* gnu/packages/gdb.scm (gdb-8.2): Replace by...
(gdb-9.2): ... this.
2021-02-05 09:40:38 -05:00
Maxim Cournoyer
01f0707207
Merge branch 'staging' into 'core-updates'.
Conflicts:

	gnu/local.mk
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/gl.scm
	gnu/packages/glib.scm
	gnu/packages/guile.scm
	gnu/packages/node.scm
	gnu/packages/openldap.scm
	gnu/packages/package-management.scm
	gnu/packages/python-xyz.scm
	gnu/packages/python.scm
	gnu/packages/tls.scm
	gnu/packages/vpn.scm
	gnu/packages/xorg.scm
2021-01-13 23:45:53 -05:00
Marius Bakke
5b6b1608b2
gnu: Remove gdb@9.
* gnu/packages/gdb.scm (gdb-9): Rename to ...
(gdb-10): ... this.  Update to 10.1.
[inputs]: Change from GUILE-2.0 to GUILE-3.0.
(gdb-8.2): Inherit from GDB-10.
[inputs]: Stick with GUILE-2.0.
(gdb-10): Remove variable.
(gdb): Point to GDB-10.
(gdb-minimal): Inherit from GDB.
2020-12-13 21:44:10 +01:00
Christopher Baines
ff01206345
Merge remote-tracking branch 'origin/master' into core-updates 2020-11-29 17:34:18 +00:00
Marius Bakke
32787d6524
Merge branch 'master' into staging
Conflicts:
	gnu/local.mk
	gnu/packages/gdb.scm
	gnu/packages/lisp-xyz.scm
	gnu/packages/web-browsers.scm
2020-11-07 21:33:32 +01:00
Ludovic Courtès
e33c4286eb
gnu: gdb: Add version 10.1.
* gnu/packages/gdb.scm (gdb-9.2): Rename to...
(gdb-10): ... this, and upgrade to 10.1.
[inputs]: New field.
(gdb-minimal): Adjust accordingly.
* gnu/packages/patches/gdb-hurd.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
2020-10-26 22:56:28 +01:00
Maxim Cournoyer
5e2140511c
Merge branch 'staging'
Conflicts:
	gnu/packages/admin.scm
	gnu/packages/commencement.scm
	gnu/packages/gdb.scm
	gnu/packages/llvm.scm
	gnu/packages/package-management.scm
	gnu/packages/tls.scm
2020-10-19 13:11:40 -04:00
Marius Bakke
f7175626ff
Merge branch 'master' into staging 2020-10-13 23:39:27 +02:00
Ludovic Courtès
02036cdda4
gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.
Fixes a bug whereby GDB cross-compiled for i586-pc-gnu would be broken:

  (gdb) r
  Starting program: /gnu/store/…
  Handling event, msgid = 72: (ipc/mig) server type check failure

* gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: Use MIG/32-BIT instead
of MIG.
2020-10-10 22:37:45 +02:00
Maxim Cournoyer
720a4adc91
system: Modify GDB skeleton to find debug files for any profile.
Instead of hard coding the debug directory to that of the user profile, use
Guile scripting in combination with a new search path specification on GDB to
specify the debug file directories.

* gnu/packages/gdb.scm (gdb-9.1): Add a search path specification for the
GDB_DEBUG_FILE_DIRECTORY environment variable.
* gnu/system/shadow.scm (default-skeletons)[gdbinit]: Derive the value of
DEBUG-FILE-DIRECTORY via the GDB_DEBUG_FILE_DIRECTORY environment variable.
* doc/guix.texi (Installing Debugging Files): Document it.
2020-08-16 15:26:26 -04:00
Marius Bakke
5e6d583954
gnu: gdb@8.2: Inherit from the 'full' gdb.
This reverts commit c007d86868, because later
versions of Rust requires loading Python plugins.

* gnu/packages/gdb.scm (gdb-minimal-8.2): Rename to ...
(gdb-8.2): ... this.  Adjust inheritance accordingly.
* gnu/packages/rust.scm (rust-1.27)[native-inputs]: Adjust accordingly.
2020-07-02 23:30:21 +02:00
Marius Bakke
c007d86868
gnu: gdb@8.2: Inherit from 'gdb-minimal'.
* gnu/packages/gdb.scm (gdb-minimal): Move definition up.
(gdb-8.2): Rename to ...
(gdb-minimal-8.2): ... this.  Inherit from GDB-MINIMAL.
* gnu/packages/rust.scm (rust-1.27)[native-inputs]: Adjust for the rename.
2020-06-27 12:34:48 +02:00
Marius Bakke
b6e068d299
Merge branch 'master' into staging 2020-06-27 12:28:19 +02:00
Jan (janneke) Nieuwenhuizen
27bcf151d1
gnu: gdb-minimal: Include guile.
* gnu/packages/gdb.scm (gdb-minimal): Do not remove guile, as it is a cheap
and very useful dependency.
2020-06-27 11:13:23 +02:00
Marius Bakke
a62df7cd72
gnu: GDB: Remove version 9.1.
* gnu/packages/gdb.scm (gdb-9.1): Rename to ...
(gdb): ... this.  Update to 9.2.
[source](patches): Add 'gdb-hurd.patch'.
(gdb-8.2): Inherit from GDB instead of GDB-9.1.
(gdb-9.2): Remove variable.
(gdb-minimal): Inherit from GDB instead of GDB-9.2.
2020-06-27 10:37:19 +02:00
Marius Bakke
ef2a3871fd
gnu: GDB: Inline cross-compilation fix.
* gnu/packages/gdb.scm (gdb-9.1)[arguments]: Remove conditionals on
%CURRENT-TARGET-SYSTEM.
2020-06-27 10:32:48 +02:00
Marius Bakke
88dbef3b98
gnu: gdb-minimal: Inherit replacements from GDB.
* gnu/packages/gdb.scm (gdb-minimal): Use PACKAGE/INHERIT instead of INHERIT.
2020-06-27 10:03:06 +02:00
Marius Bakke
a81b8dfeb5
gnu: gdb@8.2: Do not inherit replacements from 'gdb'.
* gnu/packages/gdb.scm (gdb-8.2): Use INHERIT instead of PACKAGE/INHERIT.
2020-06-27 10:02:01 +02:00
Marius Bakke
361541d4a5
gnu: gdb: Apply cross-build fix without changing the native variant.
Commit 76129cd3ed accidentally changed the gdb
derivation, causing too many rebuilds for the 'master' branch.

* gnu/packages/gdb.scm (gdb-9.1)[arguments]: Only apply cross-build fix when
cross-compiling.
2020-06-27 10:01:09 +02:00
Jan (janneke) Nieuwenhuizen
35691bf5dc
gnu: Add gdb-minimal.
* gnu/packages/gdb.scm (gdb-minimal): New variable.
2020-06-27 00:58:44 +02:00
Jan (janneke) Nieuwenhuizen
76129cd3ed
gnu: gdb: Add support for the Hurd.
* gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: When compiling for the Hurd,
add required build dependency mig.
["arguments"]: Add "binutils" fall-back lookup in native-inputs for
cross-builds.
* gnu/packages/patches/gdb-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gdb.scm (gdb-9.2): Use it.
2020-06-26 23:31:02 +02:00
Marius Bakke
fe6d003908
Merge branch 'master' into staging 2020-05-29 23:36:38 +02:00
Ludovic Courtès
060e44b14f
gnu: gdb: Add version 9.2.
* gnu/packages/gdb.scm (gdb-9.2): New variable.
2020-05-28 01:02:35 +02:00
Marius Bakke
9edb3f66fd
Merge branch 'master' into staging 2020-05-26 22:30:51 +02:00
Vincent Legoll
b581dd368a
gnu: gdb: Make some inputs native.
* gnu/packages/gdb.scm (gdb)[inputs]: Move dejagnu from here...
[native-inputs]: ...to here.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-04-04 12:47:06 +02:00
Marius Bakke
f013742e27
gnu: gdb: Remove duplicate input.
* gnu/packages/gdb.scm (gdb-9.1)[inputs]: Remove PYTHON.
2020-03-18 19:23:46 +01:00
Marius Bakke
759883ab51
gnu: Remove gdb@8.3.
* gnu/packages/gdb.scm (gdb-8.3): Rename to ...
(gdb-9.1): ... this.  Update to 9.1.
[properties]: Remove.
[inputs]: Add SOURCE-HIGHLIGHT.
[arguments]: Add #:out-of-source?.
(gdb-8.2): Inherit from GDB-9.1.
(gdb): Set to GDB-9.1.
2020-02-14 18:34:01 +01:00
Ludovic Courtès
ab42204fbc
gnu: gdb: Update to 9.1.
* gnu/packages/gdb.scm (gdb/next): Update to 9.1.
2020-02-11 17:42:10 +01:00
Marius Bakke
6610e847c0
gnu: gdb: Add separate variant with source highlighting support.
This partially reverts commit 480b3279fd in
order to prevent a huge rebuild.

* gnu/packages/gdb.scm (gdb-8.3)[properties]: New field.
[inputs]: Remove SOURCE-HIGHLIGHT.
* gnu/packages/gdb.scm (gdb-8.2)[inputs]: Remove.
(gdb/next): New public variable.
2020-01-30 22:16:07 +01:00
Ludovic Courtès
480b3279fd
gnu: gdb: Add dependency on source-highlight.
* gnu/packages/gdb.scm (gdb-8.3)[inputs]: Add SOURCE-HIGHLIGHT.
(gdb-8.2)[inputs]: New field.
2020-01-30 19:08:07 +01:00
Marius Bakke
47dda6e01e
gnu: rust: Use GDB 8.2 for tests.
* gnu/packages/gdb.scm (gdb-8.2): New public variable.
* gnu/packages/rust.scm (rust-1.27)[native-inputs]: Use GDB-8.2 instead of GDB.
2019-10-18 18:18:27 +02:00
Marius Bakke
4a38ec9e98
gnu: Remove GDB@8.2.
* gnu/packages/gdb.scm (gdb-8.2): Rename to ...
(gdb-8.3): ... this.  Update to 8.3.1.
(gdb): Refer to GDB-8.3.
2019-10-12 20:54:18 +02:00
Efraim Flashner
4d70a8fe1b
gnu: gdb-8.3: Update to 8.3.1.
* gnu/packages/gdb.scm (gdb-8.3): Update to 8.3.1.
2019-09-23 10:05:59 +03:00
Ludovic Courtès
a8e7ba7536
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.
2019-05-13 10:12:14 +02:00
Marius Bakke
9220651d43
gnu: gdb: Update to 8.2.1.
* gnu/packages/gdb.scm (gdb): Update to 8.2.1.
2019-02-10 21:04:24 +01:00
Ludovic Courtès
6b4f99102c
gnu: gdb: Update to 8.2.
* gnu/packages/gdb.scm (gdb): Update to 8.2.
2018-09-07 17:55:55 +02:00
Ludovic Courtès
bf0bb925ea
gnu: gdb: Update to 8.1.1.
* gnu/packages/gdb.scm (gdb): Update to 8.1.1.
2018-08-24 17:50:52 +02:00
Mark H Weaver
a3401d64db
gnu: gdb: Return #t from all phases.
* gnu/packages/gdb.scm (gdb)[arguments]: Return #t from all phases.
2018-04-12 04:03:06 -04:00
Ludovic Courtès
31bd4175c9
gnu: gdb: Update to 8.1.
* gnu/packages/gdb.scm (gdb): Update to 8.1.
2018-01-31 23:31:38 +01:00
Ludovic Courtès
130c3bc894
gnu: gdb: Update to 8.0.1.
* gnu/packages/gdb.scm (gdb): Update to 8.0.1.
2017-09-11 11:57:51 +02:00
Ludovic Courtès
c84aca6546
gnu: gdb: Update to 8.0.
* gnu/packages/gdb.scm (gdb): Update to 8.0.
2017-06-05 23:52:41 +02:00