Date: Sat, 26 Aug 2017 18:09:27 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322928 - head/sys/i386/i386 Message-ID: <201708261809.v7QI9RDm091038@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Aug 26 18:09:27 2017 New Revision: 322928 URL: https://svnweb.freebsd.org/changeset/base/322928 Log: Remove unused code. The machdep.uprintf_signal sysctl replaced it in more convenient way, not requiring recompilation to use and providing more information on fault. Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after: 1 week Modified: head/sys/i386/i386/trap.c Modified: head/sys/i386/i386/trap.c ============================================================================== --- head/sys/i386/i386/trap.c Sat Aug 26 18:06:29 2017 (r322927) +++ head/sys/i386/i386/trap.c Sat Aug 26 18:09:27 2017 (r322928) @@ -731,16 +731,6 @@ kernel_trctrap: KASSERT((read_eflags() & PSL_I) != 0, ("interrupts disabled")); trapsignal(td, &ksi); -#ifdef DEBUG - if (type <= MAX_TRAP_MSG) { - uprintf("fatal process exception: %s", - trap_msg[type]); - if ((type == T_PAGEFLT) || (type == T_PROTFLT)) - uprintf(", fault VA = 0x%lx", (u_long)eva); - uprintf("\n"); - } -#endif - user: userret(td, frame); KASSERT(PCB_USER_FPU(td->td_pcb),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708261809.v7QI9RDm091038>