Skip to content

Commit cef96fa

Browse files
committed
powerpc-musl: support the PTRACE_SYSEMU family
1 parent 7f4cca7 commit cef96fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/linux_like/linux/musl/b32/powerpc.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ pub const MAP_STACK: ::c_int = 0x020000;
257257
pub const MAP_HUGETLB: ::c_int = 0x040000;
258258
pub const MAP_SYNC: ::c_int = 0x080000;
259259

260+
pub const PTRACE_SYSEMU: ::c_int = 0x1d;
261+
pub const PTRACE_SYSEMU_SINGLESTEP: ::c_int = 0x1e;
262+
260263
pub const SOCK_STREAM: ::c_int = 1;
261264
pub const SOCK_DGRAM: ::c_int = 2;
262265
pub const SOCK_SEQPACKET: ::c_int = 5;

0 commit comments

Comments
 (0)