summaryrefslogtreecommitdiff
path: root/package/gdbserver/patches/7.11/nommu.patch
blob: 9db54501f4d39ea5869b86bc929e38da5d061f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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