svn commit: r332992 - stable/11/sys/i386/i386
Konstantin Belousov
kib at FreeBSD.org
Wed Apr 25 12:23:36 UTC 2018
Author: kib
Date: Wed Apr 25 12:23:35 2018
New Revision: 332992
URL: https://svnweb.freebsd.org/changeset/base/332992
Log:
MFC r332737:
For fatal traps other than pagefaults, print raw fault error codes.
Modified:
stable/11/sys/i386/i386/trap.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/i386/i386/trap.c
==============================================================================
--- stable/11/sys/i386/i386/trap.c Wed Apr 25 12:21:13 2018 (r332991)
+++ stable/11/sys/i386/i386/trap.c Wed Apr 25 12:23:35 2018 (r332992)
@@ -909,6 +909,8 @@ trap_fatal(frame, eva)
"",
code & PGEX_RSV ? "reserved bits in PTE" :
code & PGEX_P ? "protection violation" : "page not present");
+ } else {
+ printf("error code = %#x\n", code);
}
printf("instruction pointer = 0x%x:0x%x\n",
frame->tf_cs & 0xffff, frame->tf_eip);
More information about the svn-src-stable-11
mailing list