how to debug xen itself?
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have compiled xen with these options: --> make debug=y optimize=0 crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
I was expecting xen to stop, and wait for my gdb connection through serial port, but it boots up flawlessly. I am not sure what is my problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen internals.
Signature · 2 lines
Best Regards, Mohamad Rezaei
Quoted 6 lines · Mohamad Rezaei
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have compiled xen with these options: --> make debug=y optimize=0 crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
Quoted 7 lines
I was expecting xen to stop, and wait for my gdb connection through serial port, but it boots up flawlessly. I am not sure what is my problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen internals.
Can someone just let me know if I am doing something wrong?
Signature · 2 lines
Best Regards, Mohamad Rezaei
Quoted 7 lines · Mohamad Rezaei
Quoted 6 lines · Mohamad Rezaei
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have compiled xen with these options: --> make debug=y optimize=0 crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
Quoted 8 lines
Quoted 7 lines
I was expecting xen to stop, and wait for my gdb connection through serial port, but it boots up flawlessly. I am not sure what is my problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen internals.
Can someone just let me know if I am doing something wrong?
You asked your question on Christmas Day - most people in Europe and the USA are on holiday, so you shouldn't expect an answer to your question.
I don't use the gdb debugger so I can't help you; I don't think many people do, so you may en up debugging the debugger yourself.
Tim.
Quoted 15 lines · Tim Deegan
Quoted 14 lines · Mohamad Rezaei
Quoted 13 lines · Mohamad Rezaei
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have compiled xen with these options: --> make debug=y optimize=0 crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
I was expecting xen to stop, and wait for my gdb connection through serial port, but it boots up flawlessly. I am not sure what is my problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen internals.
Quoted 8 lines
Quoted 1 line
Can someone just let me know if I am doing something wrong?
You asked your question on Christmas Day - most people in Europe and the USA are on holiday, so you shouldn't expect an answer to your question.
I don't use the gdb debugger so I can't help you; I don't think many people do, so you may en up debugging the debugger yourself.
Some google-hits:
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-10/msg00328.html
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-09/msg01064.html
"[Xen-devel] kdb does not support XEN?":
http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/msg01519.html
Hopefully those help..
-- Pasi
Quoted 30 lines · Pasi Kärkkäinen
Quoted 15 lines · Tim Deegan
Quoted 14 lines · Mohamad Rezaei
Quoted 13 lines · Mohamad Rezaei
hi,
I am trying to debug xen hypervisor through gdb, and its kgdb. I have compiled xen with these options: --> make debug=y optimize=0 crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8
I was expecting xen to stop, and wait for my gdb connection through serial port, but it boots up flawlessly. I am not sure what is my problem. Should I do something other than that.
I am doing this because I want to use debugger to get better view of xen internals.
Quoted 8 lines
Quoted 1 line
Can someone just let me know if I am doing something wrong?
You asked your question on Christmas Day - most people in Europe and the USA are on holiday, so you shouldn't expect an answer to your question.
I don't use the gdb debugger so I can't help you; I don't think many people do, so you may en up debugging the debugger yourself.
Some google-hits:
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-10/msg00328.html
Quoted 8 lines
"[Xen-devel] Debugging XEN Hypervisor":
http://old-list-archives.xen.org/archives/html/xen-devel/2009-09/msg01064.html"[Xen-devel] kdb does not support XEN?":
http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/msg01519.htmlHopefully those help..
As might http://xenbits.xen.org/docs/unstable/misc/crashdb.txt.
Mohamad -- if you figure this out please consider updating the above document by posting a patch against xen-unstable.hg docs/misc/crashdb.txt or perhaps by creating a wiki page.
Ian.
Quoted 8 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel