kernel - Improve kernel trap message
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Dec 2015 20:11:31 +0000 (12:11 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Dec 2015 20:11:31 +0000 (12:11 -0800)
commit609d2105b0d5dfdd0989baa0588736ca6bf2982c
tree96e3c158379f6b0b43cb31d820656a51ae98095c
parentadf0eb4f774a65d9107038289bd52f21cb0d05d3
kernel - Improve kernel trap message

* Improve the 'kernel trap with interrupts disabled' message.  Include
  the thread td_comm and %rip.  This way if the trap gets into a loop
  and fails to panic or dump we may be able to track it down from the
  dmesg buffer retained after a reset.
sys/platform/pc64/x86_64/trap.c