diff options
author | Szabolcs Nagy <nsz@port70.net> | 2018-09-13 21:18:57 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-20 17:56:29 -0400 |
commit | 5ef60206ff9e697d3011bcf48afca50c9fe85e1b (patch) | |
tree | 1e2ab7ab58e029a267fe763f2c104f2af2109766 /arch/arm/bits/ptrace.h | |
parent | f381c118b2d4f7d914481d3cdc830ce41369b002 (diff) | |
download | musl-5ef60206ff9e697d3011bcf48afca50c9fe85e1b.tar.gz musl-5ef60206ff9e697d3011bcf48afca50c9fe85e1b.tar.xz musl-5ef60206ff9e697d3011bcf48afca50c9fe85e1b.zip |
add arm and sh bits/ptrace.h
These should have been added in commit df6d9450ea19fd71e52cf5cdb4c85beb73066394 that added target specific PTRACE_ macros, but somehow got missed.
Diffstat (limited to 'arch/arm/bits/ptrace.h')
-rw-r--r-- | arch/arm/bits/ptrace.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/bits/ptrace.h b/arch/arm/bits/ptrace.h new file mode 100644 index 00000000..9556ef4b --- /dev/null +++ b/arch/arm/bits/ptrace.h @@ -0,0 +1,25 @@ +#define PTRACE_GETWMMXREGS 18 +#define PTRACE_SETWMMXREGS 19 +#define PTRACE_GET_THREAD_AREA 22 +#define PTRACE_SET_SYSCALL 23 +#define PTRACE_GETCRUNCHREGS 25 +#define PTRACE_SETCRUNCHREGS 26 +#define PTRACE_GETVFPREGS 27 +#define PTRACE_SETVFPREGS 28 +#define PTRACE_GETHBPREGS 29 +#define PTRACE_SETHBPREGS 30 +#define PTRACE_GETFDPIC 31 +#define PTRACE_GETFDPIC_EXEC 0 +#define PTRACE_GETFDPIC_INTERP 1 + +#define PT_GETWMMXREGS PTRACE_GETWMMXREGS +#define PT_SETWMMXREGS PTRACE_SETWMMXREGS +#define PT_GET_THREAD_AREA PTRACE_GET_THREAD_AREA +#define PT_SET_SYSCALL PTRACE_SET_SYSCALL +#define PT_GETCRUNCHREGS PTRACE_GETCRUNCHREGS +#define PT_SETCRUNCHREGS PTRACE_SETCRUNCHREGS +#define PT_GETVFPREGS PTRACE_GETVFPREGS +#define PT_SETVFPREGS PTRACE_SETVFPREGS +#define PT_GETHBPREGS PTRACE_GETHBPREGS +#define PT_SETHBPREGS PTRACE_SETHBPREGS +#define PT_GETFDPIC PTRACE_GETFDPIC |