From e6a7cb07b4893967e8a1225a110da431559cd964 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 21 Jun 2021 14:39:05 +0000 Subject: [PATCH] delete old debugging code --- sys/arch/riscv64/riscv64/sig_machdep.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/arch/riscv64/riscv64/sig_machdep.c b/sys/arch/riscv64/riscv64/sig_machdep.c index cd804c3c997..ec9c0393e27 100644 --- a/sys/arch/riscv64/riscv64/sig_machdep.c +++ b/sys/arch/riscv64/riscv64/sig_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sig_machdep.c,v 1.5 2021/05/20 04:22:33 drahn Exp $ */ +/* $OpenBSD: sig_machdep.c,v 1.6 2021/06/21 14:39:05 deraadt Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -141,8 +141,6 @@ sendsig(sig_t catcher, int sig, sigset_t mask, const siginfo_t *ksip) bzero(&frame, sizeof(frame)); frame.sf_signum = sig; - //dumpframe ("before", tf, fp); - /* Save register context. */ for (i=0; i < 7; i++) frame.sf_sc.sc_t[i] = tf->tf_t[i]; @@ -264,8 +262,6 @@ sys_sigreturn(struct proc *p, void *v, register_t *retval) fpu_discard(p); } - //dumpframe ("after", tf, 0); - /* Restore signal mask. */ p->p_sigmask = ksc.sc_mask & ~sigcantmask; -- 2.20.1