patches/strace/4.5.16/150-strace-dont-use-REG_SYSCALL-for-sh.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Sep 05 11:20:38 2008 +0000 (2008-09-05)
branch1.2
changeset 842 c359aa844414
permissions -rw-r--r--
Backport #975 from trunk:
Warn the user if he/she recalls a sample with EXPERIMENTAL features.
Also, print the EXPERIMENTAL status when listing the samples.

NB: even it is not purely a fix backport, it is still very important that the user gets warned about the EXPERIMENTAL status of the samples.

/branches/1.2/scripts/showSamples.sh | 17 14 3 0 ++++++++++++++---
/branches/1.2/samples/samples.mk | 12 12 0 0 ++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)
yann@428
     1
diff -dur strace-4.5.16.orig/process.c strace-4.5.16/process.c
yann@428
     2
--- strace-4.5.16.orig/process.c	2007-01-11 23:08:38.000000000 +0100
yann@428
     3
+++ strace-4.5.16/process.c	2007-07-14 19:19:58.000000000 +0200
yann@428
     4
@@ -2685,7 +2685,6 @@
yann@428
     5
        { 4*REG_GBR,            "4*REG_GBR"                             },
yann@428
     6
        { 4*REG_MACH,           "4*REG_MACH"                            },
yann@428
     7
        { 4*REG_MACL,           "4*REG_MACL"                            },
yann@428
     8
-       { 4*REG_SYSCALL,        "4*REG_SYSCALL"                         },
yann@428
     9
        { 4*REG_FPUL,           "4*REG_FPUL"                            },
yann@428
    10
        { 4*REG_FPREG0,         "4*REG_FPREG0"                          },
yann@428
    11
        { 4*(REG_FPREG0+1),     "4*REG_FPREG1"                          },