Commit Graph

71 Commits

Author SHA1 Message Date
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
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell
ae3a1519e4 gdb: adding a patch to handle well the edit cmd + SIGWINCH.
It's reported to upstream since two years ago, through
their patches mailing list.
2014-03-20 11:09:39 +01:00
Lluís Batlle i Rossell
d4bf329dde Updating gdb to 7.7. 2014-03-20 10:47:36 +01:00
Eelco Dolstra
d92dc9bb3e gdb: Build on Darwin
Note that it doesn't actually work unless you run it as root, because
the Darwin kernel disallows unsigned debuggers (you'll get an error
message "please check gdb is codesigned").
2014-01-28 11:03:01 +01:00
Nixpkgs Monitor
537a5d4b70 gdb: update from 7.6.1 to 7.6.2 2013-12-14 04:36:56 +02:00
Lluís Batlle i Rossell
3e8e635be7 Updating gdb to 7.6.1 2013-11-08 17:27:57 +01:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Lluís Batlle i Rossell
b4fd5fdd83 gdb: update to 7.6 2013-04-29 13:44:23 +04:00
Eelco Dolstra
2aa6f262cb Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-02-15 13:36:34 +01:00
Eelco Dolstra
d8f37cdf9a gdb: Update to 7.5.1 2013-01-28 15:47:22 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5be0a9acd7 Rename hostDrv -> crossDrv, buildDrv -> nativeDrv
This is for consistency with terminology in stdenv (and the terms
"hostDrv" and "buildDrv" are not very intuitive, even if they're
consistent with GNU terminology).
2012-12-28 19:08:19 +01:00
Rob Vermaas
7b5d312720 Add pstack, a wrapper script for gdb. Used to be part of gdb. 2012-08-23 11:22:06 +02:00
Eelco Dolstra
dc2f0f6474 gdb: Update to 7.5 2012-08-21 14:27:00 -04:00
Lluís Batlle i Rossell
4c06f5fcda gdb: Removing the unused fetchgit from the parameters. 2012-06-27 20:21:44 +02:00
Eelco Dolstra
b0359cdf11 gdb: Drop outdated "bleeding edge" version
Also note that Nixpkgs shoould ship "bleeding edge" versions unless
there is some compelling reason.
2012-06-21 09:28:17 -04:00
Lluís Batlle i Rossell
e2ec2e27e2 Updating gdb to 7.4.1 2012-06-21 09:40:51 +02:00
Nicolas Pierron
7b7dd238fc Add dulwich (git filesystem in python).
Add bugz (command line tool for bugzilla)
Add gitBz (bugzilla in git)

svn path=/nixpkgs/trunk/; revision=33800
2012-04-15 23:48:11 +00:00
Lluís Batlle i Rossell
29ca4d272f Updating gdb. I did not update the 'bleeding edge' thing though. That should be
better named to "one git checkout" instead of bleeding edge.


svn path=/nixpkgs/trunk/; revision=31883
2012-01-27 15:11:17 +00:00
Ludovic Courtès
ef41b48dcb GDB: Check for `stdenv.system == "i686-gnu"'.
Reported by Shea Levy, thanks!

svn path=/nixpkgs/trunk/; revision=30484
2011-11-19 20:37:44 +00:00