@@ -46,27 +46,31 @@ libc_enum!{
4646 target_arch = "mips" ,
4747 target_arch = "mips64" ,
4848 target_arch = "x86_64" ,
49+ target_arch = "riscv64" ,
4950 target_pointer_width = "32" ) ) ) ) ]
5051 PTRACE_GETREGS ,
5152 #[ cfg( any( all( target_os = "android" , target_pointer_width = "32" ) ,
5253 all( target_os = "linux" , any( target_env = "musl" ,
5354 target_arch = "mips" ,
5455 target_arch = "mips64" ,
5556 target_arch = "x86_64" ,
57+ target_arch = "riscv64" ,
5658 target_pointer_width = "32" ) ) ) ) ]
5759 PTRACE_SETREGS ,
5860 #[ cfg( any( all( target_os = "android" , target_pointer_width = "32" ) ,
5961 all( target_os = "linux" , any( target_env = "musl" ,
6062 target_arch = "mips" ,
6163 target_arch = "mips64" ,
6264 target_arch = "x86_64" ,
65+ target_arch = "riscv64" ,
6366 target_pointer_width = "32" ) ) ) ) ]
6467 PTRACE_GETFPREGS ,
6568 #[ cfg( any( all( target_os = "android" , target_pointer_width = "32" ) ,
6669 all( target_os = "linux" , any( target_env = "musl" ,
6770 target_arch = "mips" ,
6871 target_arch = "mips64" ,
6972 target_arch = "x86_64" ,
73+ target_arch = "riscv64" ,
7074 target_pointer_width = "32" ) ) ) ) ]
7175 PTRACE_SETFPREGS ,
7276 PTRACE_ATTACH ,
@@ -75,13 +79,15 @@ libc_enum!{
7579 target_arch = "mips" ,
7680 target_arch = "mips64" ,
7781 target_arch = "x86" ,
78- target_arch = "x86_64" ) ) ) ]
82+ target_arch = "x86_64" ,
83+ target_arch = "riscv64" ) ) ) ]
7984 PTRACE_GETFPXREGS ,
8085 #[ cfg( all( target_os = "linux" , any( target_env = "musl" ,
8186 target_arch = "mips" ,
8287 target_arch = "mips64" ,
8388 target_arch = "x86" ,
84- target_arch = "x86_64" ) ) ) ]
89+ target_arch = "x86_64" ,
90+ target_arch = "riscv64" ) ) ) ]
8591 PTRACE_SETFPXREGS ,
8692 PTRACE_SYSCALL ,
8793 PTRACE_SETOPTIONS ,
0 commit comments