Skip to content

Commit e6d8c8d

Browse files
committed
Added openbsdlike and fixed netbsd/x86_64.rs
1 parent 3a10e23 commit e6d8c8d

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

src/unix/bsd/netbsdlike/netbsd/x86_64.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
99
pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
1010
pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 3;
1111
pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 4;
12-
pub const PT_GETDBREGS: ::c_int = PT_FIRSTMACH + 5;
13-
pub const PT_SETDBREGS: ::c_int = PT_FIRSTMACH + 6;
14-
pub const PT_SETSTEP: ::c_int = PT_FIRSTMACH + 7;
15-
pub const PT_CLEARSTEP: ::c_int = PT_FIRSTMACH + 8;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1+
use PT_FIRSTMACH;
2+
13
pub type c_long = i64;
24
pub type c_ulong = u64;
5+
6+
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
7+
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
8+
pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
9+
pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 3;
10+
pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 4;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
use PT_FIRSTMACH;
2+
13
pub type c_long = i64;
24
pub type c_ulong = u64;
35
pub type c_char = i8;
6+
7+
pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
8+
pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
9+
pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;
10+
pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 3;
11+
pub const PT_SETFPREGS: ::c_int = PT_FIRSTMACH + 4;

0 commit comments

Comments
 (0)