GDB: Build with Expat support, to get syscall info.
svn path=/nixpkgs/trunk/; revision=18009
This commit is contained in:
parent
f7947871a3
commit
4c5fcfb0a8
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, texinfo }:
|
{ fetchurl, stdenv, ncurses, readline, gmp, mpfr, expat, texinfo }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gdb-7.0";
|
name = "gdb-7.0";
|
||||||
@ -9,14 +9,17 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Add optional support for Python scripting.
|
# TODO: Add optional support for Python scripting.
|
||||||
buildInputs = [ ncurses readline gmp mpfr texinfo ];
|
buildInputs = [ ncurses readline gmp mpfr expat texinfo ];
|
||||||
|
|
||||||
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline";
|
configureFlags =
|
||||||
|
'' --with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline
|
||||||
|
--with-expat --with-libexpat-prefix=${expat}
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall =
|
||||||
# Remove Info files already provided by Binutils and other packages.
|
'' # Remove Info files already provided by Binutils and other packages.
|
||||||
rm -v $out/share/info/{standards,configure,bfd}.info
|
rm -v $out/share/info/{standards,configure,bfd}.info
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "GDB, the GNU Project debugger";
|
description = "GDB, the GNU Project debugger";
|
||||||
@ -32,6 +35,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = "GPLv3+";
|
license = "GPLv3+";
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.cygwin;
|
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.cygwin;
|
||||||
maintainers = stdenv.lib.maintainers.ludo;
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2984,7 +2984,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
gdb = import ../development/tools/misc/gdb {
|
gdb = import ../development/tools/misc/gdb {
|
||||||
inherit fetchurl stdenv ncurses gmp mpfr texinfo;
|
inherit fetchurl stdenv ncurses gmp mpfr expat texinfo;
|
||||||
readline = readline5;
|
readline = readline5;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user