commit c0202573cb1aa5547d680cc54e1b6fc8cb94e7e1
Author: Matthew Dillon <[email protected]>
Date: Fri Oct 22 19:32:01 2010 -0700
libkvm - Add ability to access userspace from kgdb on cores
* Use %cr3 from the dumppcb instead of KPML4phys on x86_64, and similarly
for i386, to access the full page table as of when the panic occured
instead of just the kernel page table.
* minidumps do not dump userspace so userspace will still not be available,
but this gives us the option of sysctl'ing off minidumps when userspace
access is desired, and kgdb will then be able to access the current
userspace context as of the panic, as well.
Summary of changes:
lib/libkvm/kvm_i386.c | 16 ++++++++++------
lib/libkvm/kvm_x86_64.c | 26 ++++++++++++++------------
2 files changed, 24 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c0202573cb1aa5547d680cc54e1b6fc8cb94e7e1
--
DragonFly BSD source repository