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
|