patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch
author Remy Bohmer <linux@bohmer.net>
Sun Jul 11 22:23:34 2010 +0200 (2010-07-11)
changeset 2021 3e52a1510f87
parent 747 d3e603e7c17c
permissions -rw-r--r--
debug/gdb: Fix compilation for Mingw hosts

GDB requires PDcurses instead of ncurses while running on Windows.
So, do not always compile ncurses in case GDB needs to build.

PDcurses is provided by an earlier build step and is not described in
this file.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciense.nib.fr: we already have a way to detect ncurses usage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@974
     1
Original patch from gentoo: ../../dev/crosstool-NG/ct-ng.trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch
yann@974
     2
-= BEGIN original header =-
yann@428
     3
diff -dur strace-4.5.16.orig/process.c strace-4.5.16/process.c
yann@974
     4
-= END original header =-
yann@974
     5
diff -durN strace-4.5.17.orig/process.c strace-4.5.17/process.c
yann@974
     6
--- strace-4.5.17.orig/process.c	2008-07-18 04:16:47.000000000 +0200
yann@974
     7
+++ strace-4.5.17/process.c	2008-10-24 21:30:13.000000000 +0200
yann@974
     8
@@ -2726,7 +2726,6 @@
yann@428
     9
        { 4*REG_GBR,            "4*REG_GBR"                             },
yann@428
    10
        { 4*REG_MACH,           "4*REG_MACH"                            },
yann@428
    11
        { 4*REG_MACL,           "4*REG_MACL"                            },
yann@428
    12
-       { 4*REG_SYSCALL,        "4*REG_SYSCALL"                         },
yann@428
    13
        { 4*REG_FPUL,           "4*REG_FPUL"                            },
yann@428
    14
        { 4*REG_FPREG0,         "4*REG_FPREG0"                          },
yann@428
    15
        { 4*(REG_FPREG0+1),     "4*REG_FPREG1"                          },