From 6c4495b080026e0649048ed4dfe83a0f3a15457a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Jun 2016 00:53:18 +0200 Subject: gdb: update to 7.11.1 --- package/gdbserver/patches/7.11.1/nommu.patch | 13 +++++++++++++ package/gdbserver/patches/7.11/nommu.patch | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 package/gdbserver/patches/7.11.1/nommu.patch delete mode 100644 package/gdbserver/patches/7.11/nommu.patch (limited to 'package/gdbserver') diff --git a/package/gdbserver/patches/7.11.1/nommu.patch b/package/gdbserver/patches/7.11.1/nommu.patch new file mode 100644 index 000000000..9db54501f --- /dev/null +++ b/package/gdbserver/patches/7.11.1/nommu.patch @@ -0,0 +1,13 @@ +diff -Nur gdb-7.11.orig/gdb/nat/linux-ptrace.h gdb-7.11/gdb/nat/linux-ptrace.h +--- gdb-7.11.orig/gdb/nat/linux-ptrace.h 2016-02-10 04:19:39.000000000 +0100 ++++ gdb-7.11/gdb/nat/linux-ptrace.h 2016-05-06 20:50:21.991346793 +0200 +@@ -23,7 +23,8 @@ + #include "nat/gdb_ptrace.h" + + #ifdef __UCLIBC__ +-#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__)) ++#include ++#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_USE_MMU__)) + /* PTRACE_TEXT_ADDR and friends. */ + #include + #define HAS_NOMMU diff --git a/package/gdbserver/patches/7.11/nommu.patch b/package/gdbserver/patches/7.11/nommu.patch deleted file mode 100644 index 9db54501f..000000000 --- a/package/gdbserver/patches/7.11/nommu.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Nur gdb-7.11.orig/gdb/nat/linux-ptrace.h gdb-7.11/gdb/nat/linux-ptrace.h ---- gdb-7.11.orig/gdb/nat/linux-ptrace.h 2016-02-10 04:19:39.000000000 +0100 -+++ gdb-7.11/gdb/nat/linux-ptrace.h 2016-05-06 20:50:21.991346793 +0200 -@@ -23,7 +23,8 @@ - #include "nat/gdb_ptrace.h" - - #ifdef __UCLIBC__ --#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_HAS_MMU__)) -+#include -+#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_USE_MMU__)) - /* PTRACE_TEXT_ADDR and friends. */ - #include - #define HAS_NOMMU -- cgit v1.2.3