git.iko.soy/typeable/nixpkgs
on master help sign in
Updating gdb to 7.9.
745b1ceLluís Batlle i Rossell
pkgs/development/tools/misc/gdb/default.nix+4−4
@@ -8,7 +8,7 @@
8
8
9let
9let
10
10
11− basename = "gdb-7.8.2";
11+ basename = "gdb-7.9";
12
12
13 # Whether (cross-)building for GNU/Hurd. This is an approximation since
13 # Whether (cross-)building for GNU/Hurd. This is an approximation since
14 # having `stdenv ? cross' doesn't tell us if we're building `crossDrv' and
14 # having `stdenv ? cross' doesn't tell us if we're building `crossDrv' and
@@ -27,10 +27,10 @@ stdenv.mkDerivation rec {
27
27
28 src = fetchurl {
28 src = fetchurl {
29 url = "mirror://gnu/gdb/${basename}.tar.xz";
29 url = "mirror://gnu/gdb/${basename}.tar.xz";
30− sha256 = "11a4fj1vpsny71kz7xqqbqk3kgzbs5cfjj3z9gm0hpvxfkam8nb0";
30+ sha256 = "14l3hhsy7fmpn2dk7ivc67gnbjdhkxlq90kxijpzfa35l58mcccv";
31 };
31 };
32
32
33− patches = [ ./edit-signals.patch ];
33+ # patches = [ ./edit-signals.patch ];
34
34
35 # I think python is not a native input, but I leave it
35 # I think python is not a native input, but I leave it
36 # here while I will not need it cross building
36 # here while I will not need it cross building
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
61
61
62 postInstall =
62 postInstall =
63 '' # Remove Info files already provided by Binutils and other packages.
63 '' # Remove Info files already provided by Binutils and other packages.
64− rm -v $out/share/info/{standards,configure,bfd}.info
64+ rm -v $out/share/info/bfd.info
65 '';
65 '';
66
66
67 # TODO: Investigate & fix the test failures.
67 # TODO: Investigate & fix the test failures.
pkgs/development/tools/misc/gdb/edit-signals.patchdeleted−25
@@ -1,25 +0,0 @@
1−Patch adapted from
2−https://www.sourceware.org/ml/gdb-patches/2012-08/msg00439.html
3−
4−Without it, spawning a terminal 'vim' from gdb 'edit' cmd, makes
5−all gdb grazy.
6−
7−diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
8−index 7ea0fec..be5455c 100644
9−--- a/gdb/tui/tui-win.c
10−+++ b/gdb/tui/tui-win.c
11−@@ -831,11 +831,12 @@ void
12− tui_initialize_win (void)
13− {
14− #ifdef SIGWINCH
15−-#ifdef HAVE_SIGACTION
16−+#if defined (HAVE_SIGACTION) && defined (SA_RESTART)
17− struct sigaction old_winch;
18−
19−- memset (&old_winch, 0, sizeof (old_winch));
20−+ sigemptyset (&old_winch.sa_mask);
21− old_winch.sa_handler = &tui_sigwinch_handler;
22−+ old_winch.sa_flags = SA_RESTART;
23− sigaction (SIGWINCH, &old_winch, NULL);
24− #else
25− signal (SIGWINCH, &tui_sigwinch_handler);