Commit graph

91 commits

Author SHA1 Message Date
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer 80b51d983a gdb: patch to use mach-o.h instead of bfd/mach-o.h
For unclear reasons, this doesn’t seem to work anymore. bfd/mach-o.h
is not accessible but mach-o.h is.

https://hydra.nixos.org/build/94542582
2019-06-09 23:56:08 -04:00
Matthew Bauer cb385daf95 gdb: remove applied patch for darwin
This patch is no longer needed. The commit was included in this
release.

https://hydra.nixos.org/build/94447561
2019-06-07 15:52:14 -04:00
jhaasdijk 78bd2e82cc gdb: 8.2.1 -> 8.3 2019-05-15 17:46:14 +02:00
Will Dietz dcfabd82e2
Merge pull request #52730 from dtzWill/update/gdb-8.2.1
gdb: 8.2 -> 8.2.1
2018-12-29 15:47:07 -06:00
Will Dietz 617ac0403c gdb: 8.2 -> 8.2.1
https://lists.gnu.org/archive/html/info-gnu/2018-12/msg00013.html
2018-12-23 11:01:08 -06:00
Jörg Thalheim e4556c275c
gdb: fix cross-build 2018-12-12 08:00:15 +00:00
Frederik Rietdijk a510aa2672 Merge master into staging-next 2018-12-03 12:18:43 +01:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jörg Thalheim 5afbdde38c
gdb: switch to python3 by default 2018-12-01 14:13:46 +00:00
Orivej Desh 471f1be718 gdb: 8.1.1 -> 8.2 (#50444) 2018-11-16 07:31:05 +00:00
John Ericson 0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Jörg Thalheim 9efffe0135 hurd: cleanup unmaintained target
This has been not touched in 6 years. Let's remove it to cause less
problems when adding new cross-compiling infrastructure.
This also simplify gcc significantly.
2018-08-28 22:18:02 +01:00
Will Dietz 64423342c3 gdb: 8.1 -> 8.1.1
https://www.gnu.org/software/gdb/download/ANNOUNCEMENT
2018-08-06 13:29:57 -05:00
Andrew Childs 4c76a21aae gdb: Flexible target matching for darwin
Outside of the nix-build the target is `x86_64-apple-darwin17.4.0`,
while inside the target is `x86_64-apple-darwin`. This difference
causes the fallback target configuration for darwin, which disables
gdb. Add a patch to make the target matching more flexible.
2018-03-07 11:46:55 +09:00
Tuomas Tynkkynen 33e744a5b4 gdb: 8.0.1 -> 8.1 2018-02-02 18:47:01 +02:00
John Ericson f8741c38cd binutils, gdb: Do not expose libbfd or libopcodes, and be multitarget
There are separate derivations for these libraries and we don't want
conflict. Multitarget is generally more useful, and will eventually
speed up cross builds, so why not?!
2017-11-13 08:46:15 -05:00
Eelco Dolstra 30a1b94926
gdb: Remove --with-separate-debug-dir
We don't need this anymore since NixOS now sets $NIX_DEBUG_INFO_DIRS.
2017-10-10 12:05:00 +02:00
Lancelot SIX 653cad7a3c gdb: 8.0 -> 8.0.1
See http://lists.gnu.org/archive/html/info-gnu/2017-09/msg00005.html
for release information.
2017-09-08 17:51:23 +02:00
Daiderd Jordan 8932357e04
gdb: remove CPP workaround 2017-08-16 21:38:40 +02:00
Daiderd Jordan bc5160eacd
gdb: fix clang build 2017-08-09 08:41:48 +02:00
Eelco Dolstra 5c5b71df5e
Add a setup hook to fill NIX_DEBUG_INFO_DIRS
This setup hook is propagated by gdb. Thus, a typical use is:

  $ nix-shell -p gdb nix nix.debug sqlite.debug ...

and gdb will be able find the debug symbols of nix etc. automatically.
2017-07-28 16:38:26 +02:00
Eelco Dolstra 5b09152898
gdb: Look for .build-id files in NIX_DEBUG_INFO_DIRS
This allows us to provide a setup hook that makes debug outputs
findable by gdb.
2017-07-28 16:38:22 +02:00
John Ericson 95c8277701 misc pkgs: Remove unneeded *Platform == *Platform comparisons
PR #26007 used these to avoid causing a mass rebuild. Now that we know
things work, we do that to clean up.
2017-06-30 10:09:31 -04:00
Daiderd Jordan ca490a6290
gdb: disable format warnings
Fixes #26145
2017-06-11 14:10:49 +02:00
Lancelot SIX 1b32055a35
gdb: 7.12.1 -> 8.0
See http://lists.gnu.org/archive/html/info-gnu/2017-06/msg00002.html
for release announcement.
2017-06-06 09:14:56 +02:00
John Ericson 56b7f9b94d gdb: s/target/tagetPlatform
Oops, missed this when cleaning up derivation recently
2017-05-23 01:18:12 -04:00
John Ericson c443033be3 gdb: Modernize and simplify derivation
- `isGNU` to `isHurd`, my sedding did not catch
 - Simplify cross compilation in general
 - Be more careful about python
 - no more `gdbCross` in all-packages
2017-05-22 17:10:29 -04:00
Lancelot SIX 9eb6668094 gdb: 7.12 -> 7.12.1 (#22167)
See https://lists.gnu.org/archive/html/info-gnu/2017-01/msg00009.html
for release announcementgdb: 7.12 -> 7.12.1

See https://lists.gnu.org/archive/html/info-gnu/2017-01/msg00009.html
for release announcement..
2017-01-26 14:23:19 +01:00
Daiderd Jordan c5a7728152
gdb: disable format hardening 2016-10-13 21:33:07 +02:00
Lancelot SIX db4b15bbbf gdb: 7.11.1 -> 7.12
See http://lists.gnu.org/archive/html/info-gnu/2016-10/msg00007.html
for release announcement
2016-10-10 09:08:43 +02:00
Eelco Dolstra 6bd54c8b93 Merge pull request #16265 from anderspapitto/gdb
gdb: 7.11 -> 7.11.1
2016-06-16 10:16:37 +02:00
Anders Papitto e97e6061f7 gdb: 7.11 -> 7.11.1 2016-06-15 20:54:11 -07:00
Tuomas Tynkkynen 3f8b08f506 treewide: Make explicit that 'dev' output of mpfr is used 2016-05-19 10:00:49 +02:00
Tuomas Tynkkynen 47c45e2041 treewide: Make explicit that 'dev' output of gmp is used 2016-05-19 10:00:36 +02:00
Tuomas Tynkkynen 8bbc3fe801 treewide: Make explicit that 'dev' output of expat is used 2016-05-19 10:00:30 +02:00
Lancelot SIX d7cb5f47d3 gdb: 7.10 -> 7.11
See announcement here :
http://lists.gnu.org/archive/html/info-gnu/2016-02/msg00010.html
2016-02-24 15:55:20 +01:00
Alexey Shmalko bdf89087d9 gdb: add multitarget option
Multitarget option builds gdb with support for all targets. That's
similar to gdb-multiarch package in Ubuntu or gdb with multitarget
USE-flag in Gentoo.
2016-02-18 07:26:27 +02:00
Lancelot SIX 5aa99f680e pkgs.gdb: 7.10 -> 7.10.1
See https://lists.gnu.org/archive/html/info-gnu/2015-12/msg00003.html
2015-12-12 14:54:25 +01:00
Nikolay Amiantov d96f7128e1 gdb: use system zlib, fix guile support 2015-11-26 16:43:44 +03:00
Eelco Dolstra f81982e779 gdb: Update to 7.10 2015-09-17 15:56:42 +02:00
Eelco Dolstra e636e0a532 gdb: Look for debug info in /run/current-system/sw/lib/debug
The previous default was $out/lib/debug, which wasn't very useful.

This ensures that you can do

  environment.systemPackages = [ pkgs.hello.debug ];

to install debug info.
2015-09-17 15:56:37 +02:00
Eelco Dolstra e7c209e5a3 gdb: Update to 7.9.1 2015-07-23 18:31:54 +02:00
Lluís Batlle i Rossell 745b1ce04a Updating gdb to 7.9.
I can remove the patch of edit-signals. It seems to work without it.

I tested the change over release-14.12.
2015-04-14 17:26:13 +02:00
Eelco Dolstra 83d9dd40f6 gdb: Don't pass guile
The configure script doesn't detect guile, so there is no sense in
having a build dependency on it:

checking for usable guile from /nix/store/hpnsswyh6qkjy5yvrf0a50k6cgm8cws8-pkg-config-0.28/bin/pkg-config... no
2015-01-20 16:00:29 +01:00
Eelco Dolstra f3ee32559d gdb: Update to 7.8.2 2015-01-20 15:52:11 +01:00
Eelco Dolstra 744f4b1ece gdb: Fix manpages 2015-01-01 01:07:22 +01:00
Eelco Dolstra 4a63787b78 pstack: Remove
It doesn't work anymore. And anyway, this probably shouldn't have been
a package in the first place (it's just some gdb options).
2014-12-23 16:07:02 +01:00
Rüdiger Sonderfeld 46266cc216 gdb: Update to 7.8 and include Guile support.
GDB 7.8 adds Guile scripting support.  This is now enabled by default as
well.  Checking for guile also adds a pkg-config dependency.

It seems Python is explicitly excluded from cross building.  I'm not
sure if Guile should also be excluded.
2014-09-06 13:31:56 +02:00
Bjørn Forsman c9baba9212 Fix many package descriptions
(My OCD kicked in today...)

Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.

I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.

I've tried to stay away from generated expressions (and I think I
succeeded).

Some specifics worth mentioning:
 * cron, has "Vixie Cron" in its description. The "Vixie" part is not
   mentioned anywhere else. I kept it in a parenthesis at the end of the
   description.

 * ctags description started with "Exuberant Ctags ...", and the
   "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
   at the end of description.

 * nix has the description "The Nix Deployment System". Since that
   doesn't really say much what it is/does (especially after removing
   the package name!), I changed that to "Powerful package manager that
   makes package management reliable and reproducible" (borrowed from
   nixos.org).

 * Tons of "GNU Foo, Foo is a [the important bits]" descriptions
   is changed to just [the important bits]. If the package name doesn't
   contain GNU I don't think it's needed to say it in the description
   either.
2014-08-24 22:31:37 +02:00