Blame SOURCES/rhel7.6-s390-nat.patch

01fc30
--- crash-7.2.3/gdb-7.6.patch.orig
01fc30
+++ crash-7.2.3/gdb-7.6.patch
01fc30
@@ -2392,3 +2392,18 @@ diff -up gdb-7.6/opcodes/configure.orig
01fc30
                  req->flags |= GNU_COMMAND_FAILED;
01fc30
  }
01fc30
  
01fc30
+--- gdb-7.6/gdb/s390-nat.c.orig
01fc30
++++ gdb-7.6/gdb/s390-nat.c
01fc30
+@@ -31,6 +31,12 @@
01fc30
+ #include "elf/common.h"
01fc30
+ 
01fc30
+ #include <asm/ptrace.h>
01fc30
++#undef PTRACE_PEEKUSR_AREA
01fc30
++#undef PTRACE_POKEUSR_AREA
01fc30
++#undef PTRACE_GET_LAST_BREAK
01fc30
++#undef PTRACE_ENABLE_TE
01fc30
++#undef PTRACE_DISABLE_TE
01fc30
++#undef PTRACE_TE_ABORT_RAND
01fc30
+ #include <sys/ptrace.h>
01fc30
+ #include <asm/types.h>
01fc30
+ #include <sys/procfs.h>