u-root
u-root copied to clipboard
fix strace for 386
386 can't use strace
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