diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-05-07 19:47:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-05-07 19:47:57 +0200 |
commit | 00ebfcb8255f93698aeaaa4a4d2f866d78bd0137 (patch) | |
tree | 84cabfcf466f75c9a831617cb8ba9ede374e0bd3 | |
parent | 54beecf62e4413a4ec0ea2729392e4195b4c558b (diff) |
gdbserver: add patch to work with nommu targets
-rw-r--r-- | package/gdbserver/patches/7.11/nommu.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gdbserver/patches/7.11/nommu.patch b/package/gdbserver/patches/7.11/nommu.patch new file mode 100644 index 000000000..9db54501f --- /dev/null +++ b/package/gdbserver/patches/7.11/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 <sched.h> ++#if !(defined(__UCLIBC_HAS_MMU__) || defined(__ARCH_USE_MMU__)) + /* PTRACE_TEXT_ADDR and friends. */ + #include <asm/ptrace.h> + #define HAS_NOMMU |