Module Name: src Committed By: rin Date: Mon Aug 10 10:51:21 UTC 2020
Modified Files: src/sys/arch/amiga/amiga: trap.c src/sys/arch/mac68k/mac68k: trap.c src/sys/arch/sun3/sun3: trap.c Log Message: Fix siginfo support for amiga, mac68k, and sun3: - T_ZERODIV is integer divide by zero. Therefore, ksi_code should be FPE_INTDIV, not FPE_FLTDIV. - Set ksi_addr for SIGTRAP. Also, set TRAP_BRKPT or TRAP_TRACE to ksi_code appropriately. This fixes some tests in lib/libc/sys and lib/libc/gen. XXX Apply similar fixes to other m68k ports. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/arch/amiga/amiga/trap.c cvs rdiff -u -r1.150 -r1.151 src/sys/arch/mac68k/mac68k/trap.c cvs rdiff -u -r1.146 -r1.147 src/sys/arch/sun3/sun3/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.