2009-01-12 21:06:32 +03:00
|
|
|
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, texinfo }:
|
2007-02-22 19:07:51 +03:00
|
|
|
|
2007-11-16 20:30:34 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2008-09-03 17:12:23 +04:00
|
|
|
name = "gdb-6.8";
|
|
|
|
|
2007-02-22 19:07:51 +03:00
|
|
|
src = fetchurl {
|
2007-11-16 20:30:34 +03:00
|
|
|
url = "mirror://gnu/gdb/${name}.tar.bz2";
|
2008-09-03 17:12:23 +04:00
|
|
|
sha256 = "067qpnpgmz9jffi208q5c981xsyn8naq3rkp5ypg477lddcgvpzf";
|
|
|
|
};
|
|
|
|
|
2009-01-12 21:06:32 +03:00
|
|
|
buildInputs = [ ncurses readline gmp mpfr texinfo ];
|
2008-09-03 17:12:23 +04:00
|
|
|
|
2009-01-12 21:06:32 +03:00
|
|
|
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline";
|
2008-09-03 17:12:23 +04:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
# Remove Info files already provided by Binutils and other packages.
|
|
|
|
rm $out/info/{standards,configure,bfd}.info
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GDB, the GNU Project debugger";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GDB, the GNU Project debugger, allows you to see what is going
|
|
|
|
on `inside' another program while it executes -- or what another
|
|
|
|
program was doing at the moment it crashed.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/gdb/;
|
|
|
|
|
|
|
|
license = "GPLv3+";
|
2007-02-22 19:07:51 +03:00
|
|
|
};
|
|
|
|
}
|