Hello, This patch keeps running Xen when you quit from gdb. When you debug Xen and dom0 by gdb in host-target configuration, you can interrupt Xen by ^A^A^A%, then you can examine/set breakpoint/etc Xen by gdb. By this patch, you can also interrupt Xen on "target remote" command. In near future, gdb is going to integrate my patch, http://sourceware.org/ml/gdb-patches/2009-10/msg00038.html and have a new command, "set/show remote interrupt-on-connect". When interrupt-on-connect is ON, gdb sends Ctrl-C to target on "target remote" command. As you see in the screen shots in http://www.caztech.com/xen/ScreenShot-20091007/, you can continue running Xen by both of continue command and quit gdb. In the screen shots, I use ssplitd to split the console messages and gdb interaction. Patched gdb-7.0 is available in http://kgdb-light.svn.sourceforge.net/viewvc/kgdb-light/branches/gdb-7.0-int errupt_sequence/ Corresponding .gdbinit is set prompt (xgdb) add-symbol-file ../JeremyDom0/vmlinux 0 set remote interrupt-sequence Ctrl-C set remote interrupt-on-connect on set remotebaud 115200 target remote 127.0.0.1:4000 Note: you don''t need to set interrupt-sequence. Ctrl-C is a default. Corresponding menu.lst is title xen-3.5-unstable.gz with kernel 2.6.31.1 root (hd0,0) kernel /xen-3.5-unstable.gz console=com1L,vga com1=115200,8n1 gdb=com1H module /vmlinuz-2.6.31.1 ro root=/dev/mapper/vg_tragi-lv_root rhgb module /initrd-2.6.31.1.img Let me know if you have any question. Thank you. -Caz Yokoyama, caz at caztech dot com. 503-804-1028(m). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel