Skip to contentSkip to conversation

debugger updates...

DISCUSSION Mukesh Rathor 2 participants 4 messages Nov 7, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

FYI... I've updated the debuggers (kdb + gdbsx) tree. Here's a summary:

- Refresh to changeset 18711

- gdbsx: Add support for HVM guest debug.
Support for kernel module debug in PV linux guests (via pgd3val) Include gdb macros (in README) for linux kernel/module debug

- kdb: HVM guest debug support (set bp, single step)
Display VMCB/VMCS structs, more structs, etc.
Generic Trace function: to quickly debug something, esp, timing
related problems
General kdb trap func: kdb_trap_immed() to break into kdb anywhere,
possibly based on a condition.....

See READMEs in http://xenbits.xensource.com/ext/debuggers.hg

Thanks,
Mukesh

#1 lore raw

Can I use this to debug Xen or it is just for dom0?

Thanks,
Neo

Quoted 29 lines · Mukesh Rathor

Hi all,

FYI... I've updated the debuggers (kdb + gdbsx) tree. Here's a summary:

- Refresh to changeset 18711

- gdbsx: Add support for HVM guest debug.
Support for kernel module debug in PV linux guests (via pgd3val) Include gdb macros (in README) for linux kernel/module debug

- kdb: HVM guest debug support (set bp, single step)
Display VMCB/VMCS structs, more structs, etc.
Generic Trace function: to quickly debug something, esp, timing
related problems
General kdb trap func: kdb_trap_immed() to break into kdb anywhere,
possibly based on a condition.....

See READMEs in http://xenbits.xensource.com/ext/debuggers.hg

Thanks,
Mukesh

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#2 lore raw

kdb is intended to debug xen hypervisor... can be used for dom0 also. gdbsx is intended to debug domU (PV or HVM).

Thanks,
Mukesh

Quoted 37 lines · Neo Jia

Can I use this to debug Xen or it is just for dom0?

Thanks,
Neo

Quoted 28 lines · Mukesh Rathor

Hi all,

FYI... I've updated the debuggers (kdb + gdbsx) tree. Here's a summary:

- Refresh to changeset 18711

- gdbsx: Add support for HVM guest debug.
Support for kernel module debug in PV linux guests (via pgd3val) Include gdb macros (in README) for linux kernel/module debug

- kdb: HVM guest debug support (set bp, single step)
Display VMCB/VMCS structs, more structs, etc.
Generic Trace function: to quickly debug something, esp, timing
related problems
General kdb trap func: kdb_trap_immed() to break into kdb anywhere,
possibly based on a condition.....

See READMEs in http://xenbits.xensource.com/ext/debuggers.hg

Thanks,
Mukesh

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Is there any source level debugger for Xen and Dom0?

Thanks,
Neo

Quoted 49 lines · Mukesh Rathor

kdb is intended to debug xen hypervisor... can be used for dom0 also. gdbsx is intended to debug domU (PV or HVM).

Thanks,
Mukesh

Quoted 41 lines · Neo Jia

Can I use this to debug Xen or it is just for dom0?

Thanks,
Neo

Quoted 30 lines · Mukesh Rathor

Hi all,

FYI... I've updated the debuggers (kdb + gdbsx) tree. Here's a summary:

- Refresh to changeset 18711

- gdbsx: Add support for HVM guest debug.
Support for kernel module debug in PV linux guests (via pgd3val) Include gdb macros (in README) for linux kernel/module debug

- kdb: HVM guest debug support (set bp, single step) Display VMCB/VMCS structs, more structs, etc. Generic Trace function: to quickly debug something, esp, timing related problems
General kdb trap func: kdb_trap_immed() to break into kdb
anywhere,
possibly based on a condition.....

See READMEs in http://xenbits.xensource.com/ext/debuggers.hg

Thanks,
Mukesh

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!