authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-27 00:19:40+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-27 00:28:00+02:00
log6aa6a0795526e9a6a6380d37bb48ac36368e54d6
tree38753cdbed16a67ba48a25fd5f5caa0d43bff704
parent12790e69a784c6270671eb32c0da636c9c74bfb8
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.debug.cpu_context: add mcontext_t for hppa-linux and hppa64-linux


1 files changed, 14 insertions(+), 12 deletions(-)

lib/std/debug/cpu_context.zig+14-12
...@@ -1980,6 +1980,8 @@ const signal_ucontext_t = switch (native_os) {...@@ -1980,6 +1980,8 @@ const signal_ucontext_t = switch (native_os) {
1980 .thumbeb,1980 .thumbeb,
1981 .csky,1981 .csky,
1982 .hexagon,1982 .hexagon,
1983 .hppa,
1984 .hppa64,
1983 .m68k,1985 .m68k,
1984 .mips,1986 .mips,
1985 .mipsel,1987 .mipsel,
...@@ -2051,19 +2053,19 @@ const signal_ucontext_t = switch (native_os) {...@@ -2051,19 +2053,19 @@ const signal_ucontext_t = switch (native_os) {
2051 pc: u32,2053 pc: u32,
2052 },2054 },
2053 // https://github.com/torvalds/linux/blob/cd5a0afbdf8033dc83786315d63f8b325bdba2fd/arch/parisc/include/uapi/asm/sigcontext.h2055 // https://github.com/torvalds/linux/blob/cd5a0afbdf8033dc83786315d63f8b325bdba2fd/arch/parisc/include/uapi/asm/sigcontext.h
2054 .hppa => extern struct {2056 .hppa, .hppa64 => extern struct {
2055 _flags: u32,2057 _flags: usize,
2056 _psw: u32,2058 _psw: usize,
2057 r1_19: [19]u32,2059 r1_19: [19]usize,
2058 r20: u32,2060 r20: usize,
2059 r21: u32,2061 r21: usize,
2060 r22: u32,2062 r22: usize,
2061 r23_29: [7]u32,2063 r23_29: [7]usize,
2062 r30: u32,2064 r30: usize,
2063 r31: u32,2065 r31: usize,
2064 _fr: [32]f64,2066 _fr: [32]f64,
2065 _iasq: [2]u32,2067 _iasq: [2]usize,
2066 iaoq: [2]u32,2068 iaoq: [2]usize,
2067 },2069 },
2068 // https://github.com/torvalds/linux/blob/cd5a0afbdf8033dc83786315d63f8b325bdba2fd/arch/m68k/include/asm/ucontext.h2070 // https://github.com/torvalds/linux/blob/cd5a0afbdf8033dc83786315d63f8b325bdba2fd/arch/m68k/include/asm/ucontext.h
2069 .m68k => extern struct {2071 .m68k => extern struct {