svn commit: r295889 - head/sys/riscv/riscv

Ruslan Bukin br at FreeBSD.org
Mon Feb 22 13:52:10 UTC 2016


Author: br
Date: Mon Feb 22 13:52:08 2016
New Revision: 295889
URL: https://svnweb.freebsd.org/changeset/base/295889

Log:
  Fix ktrace call.

Modified:
  head/sys/riscv/riscv/machdep.c

Modified: head/sys/riscv/riscv/machdep.c
==============================================================================
--- head/sys/riscv/riscv/machdep.c	Mon Feb 22 13:34:43 2016	(r295888)
+++ head/sys/riscv/riscv/machdep.c	Mon Feb 22 13:52:08 2016	(r295889)
@@ -555,7 +555,7 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, 
 		tf->tf_ra = (register_t)(sysent->sv_psstrings -
 		    *(sysent->sv_szsigcode));
 
-	CTR3(KTR_SIG, "sendsig: return td=%p pc=%#x sp=%#x", td, tf->tf_elr,
+	CTR3(KTR_SIG, "sendsig: return td=%p pc=%#x sp=%#x", td, tf->tf_sepc,
 	    tf->tf_sp);
 
 	PROC_LOCK(p);


More information about the svn-src-head mailing list