android-mips: define PTRACE_GETREGSET in headers don't do it

PTRACE_GETREGSET is only defined on mips only since api level 21. Define
it ourselves, so we can compile with older platform headers.

llvm-svn: 292936
This commit is contained in:
Pavel Labath 2017-01-24 14:27:51 +00:00
parent e9862b607e
commit b699c548c6
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@ struct pt_watch_regs {
#define IRW (I | R | W)
#ifndef PTRACE_GETREGSET
#define PTRACE_GETREGSET 0x4204
#endif
struct pt_watch_regs default_watch_regs;
using namespace lldb_private;