git: DragonFly_RELEASE_2_8 libkvm - Add ability to access userspace from kgdb on cores

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 24 09:39:38 PDT 2010


commit 3f1be0889a0d21a65163aae391655616f341f58f
Author: Matthew Dillon <dillon at apollo.backplane.com>
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/3f1be0889a0d21a65163aae391655616f341f58f


-- 
DragonFly BSD source repository





More information about the Commits mailing list