kernel - Change where dump context is saved
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Dec 2015 20:10:00 +0000 (12:10 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 Dec 2015 20:10:00 +0000 (12:10 -0800)
commitadf0eb4f774a65d9107038289bd52f21cb0d05d3
treee46423689a33ba4eec18f603309ee16136e8a800
parent23d9fe783bb44011b7612abd6c9408f09ef39926
kernel - Change where dump context is saved

* Save the dump context a little earlier in the panic to improve
  chances that post-morten kgdb can print the stack backtrace.

* Use a function union for variable arguments calls from ddb>
sys/ddb/db_command.c
sys/kern/kern_shutdown.c
sys/platform/pc64/x86_64/db_interface.c
sys/platform/pc64/x86_64/dump_machdep.c