Commit graph

90 commits

Author SHA1 Message Date
Ludovic Courtès
f4dcf3018e
gnu: gdb: Update to 14.2.
* gnu/packages/gdb.scm (gdb-14): Update to 14.2.

Change-Id: Iddf941655fe5550f6cd01978fd7998f193957ee1
2024-04-11 12:24:21 +02:00
Greg Hogan
75bad75367
gnu: gdb: Update to 14.1.
* gnu/packages/gdb.scm (gdb-12): Rename to ...
(gdb-14): ... and update to 14.1.
(avr-gdb, gdb-minimal, gdb-multiarch): Inherit from GDB-14.

Change-Id: I1396ba885fc97a8b0387a4b8e4c04ff018eba23f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-02-27 11:51:07 +01:00
宋文武
ceff14b7cd
gnu: Add gdb-multiarch.
* gnu/packages/gdb.scm (gdb-multiarch): New variable.
2023-08-28 18:01:07 +08:00
Janneke Nieuwenhuizen
ff690faf66
gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.
* gnu/packages/hurd.scm (hurd-target?): Remove.
(hurd-system?): Move to...
* guix/utils.scm (system-hurd?): ...here.
* gnu/packages/*: Update all users, removing (gnu packages hurd) include where
now unused.
2023-06-17 14:38:32 +02:00
Efraim Flashner
f88591857e
gnu: gdb/pinned: Move to gdb-12.1.
* gnu/packages/gdb.scm (gdb/pinned): Refer to gdb-12.1.
[properties]: Hide the package.
(gdb-12): Inherit from gdb/pinned.
2023-05-07 19:29:42 +03:00
Ludovic Courtès
dd9b1a1c25
gnu: gdb: Change default to 12.x.
* gnu/packages/gdb.scm (gdb): Change to GDB-12.
2023-04-18 17:51:38 +02:00
Ludovic Courtès
6b5c21e043
gnu: gdb: Distinguish between the "pinned" and the "default" version.
* gnu/packages/gdb.scm (gdb/pinned): New variable.
* gnu/packages/rust.scm (rust)[native-inputs]: Use it instead of GDB.
2023-04-18 17:51:22 +02:00
Ludovic Courtès
664a222cac
gnu: gdb: Remove Hurd patch.
The patch was useful for GDB 11 on the previous Hurd version that was
used; it's unnecessary on GDB 12 and GDB 11 has other build issues on
the current GNU/Hurd.

This change fixes "guix build gdb-minimal --target=i586-pc-gnu".

* gnu/packages/patches/gdb-fix-gnu-nat-build.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gdb.scm (gdb-11)[arguments]: Remove 'patch-gdb/hurd' phase.
[inputs]: Remove "hurd-build.patch" input.
[supported-systems]: New field.
(gdb-12)[supported-systems]: New field.
2023-04-18 15:52:02 +02:00
Ludovic Courtès
b49fd5daab
gnu: gdb-minimal: Update to 12.x.
* gnu/packages/gdb.scm (gdb-minimal): Rebase on GDB-12.
2023-04-18 15:52:01 +02:00
Ludovic Courtès
2842b383dd
gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd.
This is a followup to 2756d662aa.

* gnu/packages/gdb.scm (gdb-11)[native-inputs]: Use 'cross-mig' instead
of 'mig/32-bit'.
2023-04-18 15:52:01 +02:00
Kristian Lein-Mathisen
d60c9fbf95
gnu: Add avr-gdb.
* gnu/packages/gdb.scm (avr-gdb): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-11-07 20:32:32 +01:00
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