WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] kdb for xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] kdb for xen
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Fri, 02 May 2008 18:23:38 -0700
Cc: andy@xxxxxxxxx, brendan@xxxxxxxxx
Delivery-date: Fri, 02 May 2008 18:24:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corp
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
Hi xen folks,

It is my pleasure to announce an internal debugger for the xen hypervisor (64bit). It's a full fledged debugger that will "halt" the system, so the entire state can be examined. Some examples of commands:

xkdb> cpu all    : see one line state of all cpus
xkdb> cpu 7      : switch to cpu 7 (the leaving cpu will pause immed)
xkdb> dd addr 32 : display 32 bytes at address in doublewords
xkdb> dr sp      : display registers including special registers
xkdb> ni         : single step (go over function calls)
xkdb> dom 5      : display dom 5 details
xkdb> vcpu <ptr> : display vcpu details at give "ptr"

Type "h" at the prompt for all commands and usages.

It can be downloaded from:

http://xenbits.xensource.com/ext/kdb.hg

and built by running "make kdb=y" in xen-unstable.hg/xen


FEATURES:
  - set breakpoints in hypervisor
  - examine/modify memory, registers, special registers, domains, vcpus, etc..
  - single step, single step till jump/call, step over call to next
    instruction after the call.
  - examine/modify memory of a PV guest.
  - set breakpoints, single step, etc... for a PV guest.
  - above functionality for HVM guest if the debugger breaks into a running
    HVM guest.
  - breaking into the debugger will freeze the system, all CPUs will pause,
    no interrupts are acknowledged in the debugger. (Hence, the wall clock
    will drift)
  - single step will step only that cpu.

Regards,
Mukesh Rathor


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>