|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Can I use pdb now?
thanks mark :-)
Mark Williamson wrote:
>> #please, forgive my lack of words :-)
>>
>> I want to debug xen kernel(!= dom0 or domU) with gdb through pdb.
>> but I've found removing pdb from
>> codebase(http://xenbits.xensource.com/xen-3.1-testing.hg?rev/80388aea02a1).
>> There is still means to use pdb or alternate tool?
>>
>
> As far as I know pdb is abandoned.
>
> There is a Xen gdb stub in the hypervisor under xen/common/gdbstub.c (there
> are also arch-specific parts). You'll need another machine and a null modem
> cable in order to debug Xen.
>
> You need to build Xen with "make crash_debug=y" in order to build in support
> for this. If you have an existing Xen tree you should probably do "make
> clean" first, to get rid of any stale modules.
>
> Cheers,
> Mark
>
I tried to use gdb stub as you say.
But in serial console like below
> (XEN) 'h' pressed -> showing installed handlers
> (XEN) key '%' (ascii '25') => Trap to xendbg
> (XEN) key 'C' (ascii '43') => trigger a crashdump
> (XEN) key 'H' (ascii '48') => dump heap info
> (XEN) key 'N' (ascii '4e') => NMI statistics
> (XEN) key 'R' (ascii '52') => reboot machine
> (XEN) key 'a' (ascii '61') => dump timer queues
> (XEN) key 'd' (ascii '64') => dump registers
> (XEN) key 'h' (ascii '68') => show this message
> (XEN) key 'i' (ascii '69') => dump interrupt bindings
> (XEN) key 'm' (ascii '6d') => memory info
> (XEN) key 'n' (ascii '6e') => trigger an NMI
> (XEN) key 'q' (ascii '71') => dump domain (and guest debug) info
> (XEN) key 'r' (ascii '72') => dump run queues
> (XEN) key 't' (ascii '74') => display multi-cpu clock info
> (XEN) key 'u' (ascii '75') => dump numa info
> (XEN) key 'z' (ascii '7a') => print ioapic info
I hit % key but there were no response.
Why?
****************************************
HPCS lab
4th grade student of Colledge of Information Science, University of Tsukuba
Ryo Kanbayashi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|