Skip to content

Commit 775936e

Browse files
committed
Add GETREGS/SETREGS for android
1 parent ac2785e commit 775936e

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/android

1 file changed

+2
-0
lines changed

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,8 @@ pub const PTRACE_POKEUSER: ::c_int = 6;
12811281
pub const PTRACE_CONT: ::c_int = 7;
12821282
pub const PTRACE_KILL: ::c_int = 8;
12831283
pub const PTRACE_SINGLESTEP: ::c_int = 9;
1284+
pub const PTRACE_GETREGS: ::c_int = 12;
1285+
pub const PTRACE_SETREGS: ::c_int = 13;
12841286
pub const PTRACE_ATTACH: ::c_int = 16;
12851287
pub const PTRACE_DETACH: ::c_int = 17;
12861288
pub const PTRACE_SYSCALL: ::c_int = 24;

0 commit comments

Comments
 (0)