DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 09:38:30 -0700 (PDT)

commit 3f1be0889a0d21a65163aae391655616f341f58f
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]