Yes, it should be silent. Old debugging code obviously.
Jeremie Courreges-Anglas <[email protected]> wrote: > Just like breakpoints, SIGILL shouldn't print anything. FWIW this seems > to only happen once in a ports bulk build. > > ok? > > > Index: trap.c > =================================================================== > RCS file: /home/cvs/src/sys/arch/riscv64/riscv64/trap.c,v > retrieving revision 1.17 > diff -u -p -p -u -r1.17 trap.c > --- trap.c 3 Sep 2021 14:58:25 -0000 1.17 > +++ trap.c 22 Mar 2022 21:42:23 -0000 > @@ -153,8 +153,6 @@ do_trap_user(struct trapframe *frame) > fpu_load(p); > break; > } > - printf("ILL at %lx scause %lx stval %lx\n", frame->tf_sepc, > - frame->tf_scause, frame->tf_stval); > sv.sival_ptr = (void *)frame->tf_stval; > trapsignal(p, SIGILL, 0, ILL_ILLTRP, sv); > break; > > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE >
