On Fri, Sep 03, 2021 at 04:38:55PM +0200, Jeremie Courreges-Anglas wrote: > > This one is a bit too chatty whenever you run a program under egdb. > But the other printfs in this file seem ok, thus I'm not touching them. > > ok? > > > Index: trap.c > =================================================================== > RCS file: /d/cvs/src/sys/arch/riscv64/riscv64/trap.c,v > retrieving revision 1.16 > diff -u -p -p -u -r1.16 trap.c > --- trap.c 26 Jul 2021 22:13:19 -0000 1.16 > +++ trap.c 3 Sep 2021 14:25:31 -0000 > @@ -159,7 +159,6 @@ do_trap_user(struct trapframe *frame) > trapsignal(p, SIGILL, 0, ILL_ILLTRP, sv); > break; > case EXCP_BREAKPOINT: > - printf("BREAKPOINT\n"); > sv.sival_ptr = (void *)frame->tf_stval; > trapsignal(p, SIGTRAP, 0, TRAP_BRKPT, sv); > break; > > -- > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE >
ok mlarkin