Skip to content

Commit fd3dc9f

Browse files
Merge pull request #3 from DhruvSrivastavaX/revert-2-aix-ptrace-full
Revert "Removed non-required PTRACE defs"
2 parents f334146 + 627a542 commit fd3dc9f

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

lldb/include/lldb/Host/aix/Ptrace.h

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,29 @@
3434
#ifndef PTRACE_SETREGSET
3535
#define PTRACE_SETREGSET 0x4205
3636
#endif
37+
#ifndef PTRACE_GET_THREAD_AREA
38+
#define PTRACE_GET_THREAD_AREA (PT_COMMAND_MAX+5)
39+
#endif
40+
#ifndef PTRACE_ARCH_PRCTL
41+
#define PTRACE_ARCH_PRCTL (PT_COMMAND_MAX+6)
42+
#endif
43+
#ifndef ARCH_GET_FS
44+
#define ARCH_SET_GS 0x1001
45+
#define ARCH_SET_FS 0x1002
46+
#define ARCH_GET_FS 0x1003
47+
#define ARCH_GET_GS 0x1004
48+
#endif
49+
#ifndef PTRACE_PEEKMTETAGS
50+
#define PTRACE_PEEKMTETAGS (PT_COMMAND_MAX+7)
51+
#endif
52+
#ifndef PTRACE_POKEMTETAGS
53+
#define PTRACE_POKEMTETAGS (PT_COMMAND_MAX+8)
54+
#endif
3755
#ifndef PTRACE_GETVRREGS
38-
#define PTRACE_GETVRREGS (PT_COMMAND_MAX+5)
56+
#define PTRACE_GETVRREGS (PT_COMMAND_MAX+9)
3957
#endif
4058
#ifndef PTRACE_GETVSRREGS
41-
#define PTRACE_GETVSRREGS (PT_COMMAND_MAX+6)
59+
#define PTRACE_GETVSRREGS (PT_COMMAND_MAX+10)
4260
#endif
4361

4462
#endif // liblldb_Host_aix_Ptrace_h_

0 commit comments

Comments
 (0)