gdb: build with libipt

This adds support for "record btrace pt" command.
This commit is contained in:
Orivej Desh 2019-09-22 21:34:32 +00:00
parent dc4224bc54
commit e675e2763e

View file

@ -4,7 +4,7 @@
, fetchurl, pkgconfig, perl, texinfo, setupDebugInfoDirs, buildPackages , fetchurl, pkgconfig, perl, texinfo, setupDebugInfoDirs, buildPackages
# Run time # Run time
, ncurses, readline, gmp, mpfr, expat, zlib, dejagnu , ncurses, readline, gmp, mpfr, expat, libipt, zlib, dejagnu
, pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null , pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
, guile ? null , guile ? null
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ]; nativeBuildInputs = [ pkgconfig texinfo perl setupDebugInfoDirs ];
buildInputs = [ ncurses readline gmp mpfr expat zlib guile ] buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile ]
++ stdenv.lib.optional pythonSupport python3 ++ stdenv.lib.optional pythonSupport python3
++ stdenv.lib.optional doCheck dejagnu; ++ stdenv.lib.optional doCheck dejagnu;