Skip to content

Commit e02b7e5

Browse files
committed
Auto merge of #2316 - s1341:add_GETREGSET_SETREGSET_android, r=JohnTitor
Add PTRACE_GETREGSET and PTRACE_SETREGSET which are missing on android
2 parents 80b2610 + 6fe319d commit e02b7e5

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
@@ -1277,6 +1277,8 @@ pub const PTRACE_SETOPTIONS: ::c_int = 0x4200;
12771277
pub const PTRACE_GETEVENTMSG: ::c_int = 0x4201;
12781278
pub const PTRACE_GETSIGINFO: ::c_int = 0x4202;
12791279
pub const PTRACE_SETSIGINFO: ::c_int = 0x4203;
1280+
pub const PTRACE_GETREGSET: ::c_int = 0x4204;
1281+
pub const PTRACE_SETREGSET: ::c_int = 0x4205;
12801282

12811283
pub const PTRACE_EVENT_STOP: ::c_int = 128;
12821284

0 commit comments

Comments
 (0)