Module Name: src Committed By: rin Date: Mon Nov 18 12:06:26 UTC 2019
Modified Files: src/sys/compat/netbsd32: netbsd32.h src/sys/compat/sys: siginfo.h Log Message: 8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary. Therefore, we must use __attribute__((__aligned__(4))) for them. netbsd32_{,u}int64 are provided for this purpose. However, we cannot use it in <compat/sys/siginfo.h> due to circular dependency b/w <machine/netbsd32_machdep.h>. In order to distangle it, we choose here to have a duplicate type, netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>. Now, gdb for i386 works again on amd64 kernel. Based on patch provided by kamil. Thanks! XXX pullup to netbsd-9 To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/sys/compat/netbsd32/netbsd32.h cvs rdiff -u -r1.8 -r1.9 src/sys/compat/sys/siginfo.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.