u-root icon indicating copy to clipboard operation
u-root copied to clipboard

fix strace for 386

Open rminnich opened this issue 5 years ago • 1 comments

386 can't use strace

rminnich avatar Apr 23 '20 00:04 rminnich

a syscall_linux_386.go needed to use the 32 bit registers instead of the 64bit ones here https://github.com/u-root/u-root/blob/master/pkg/strace/syscall_linux_amd64.go#L353-L362 which are defined here https://godoc.org/golang.org/x/sys/unix#PtraceRegs386

sevki avatar Jul 28 '20 18:07 sevki