From: Markus Armbruster Subject: Re: How to disable xen debugger? Date: Wed, 07 Mar 2007 16:47:06 +0100 Message-ID: <87mz2pkqdh.fsf@pike.pond.sub.org> References: <4d616cca0703060945t5a176b97v2e3462130796e433@mail.gmail.com> <87zm6plc2p.fsf@pike.pond.sub.org> <4d616cca0703070731j1f008721jf9795f6ada8683d2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <4d616cca0703070731j1f008721jf9795f6ada8683d2@mail.gmail.com> (Lily Huang's message of "Wed, 7 Mar 2007 10:31:31 -0500") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lily Huang Cc: xen-devel List-Id: xen-devel@lists.xenproject.org "Lily Huang" writes: > Thanks a lot for your help! I already found the problem. My system is slowed > down because of misconfiguration, nothing to do with the debugger. > > But another funny thing for me is that once I used ctrl+c to terminate > gdbserver-xen, the dom0 will immediately reboot. My setting is as follows: > 1. I ran gdbserver-xen in dom0, and ran my kernel modules in both dom0 and a > domU. The kernel modules are essentially a frontend (in domU) and a backend (in > dom0) driver. > 2. I then debugged the frontend in dom0 > 3. My code runs normally (at least, I didn't see anything wrong). > > After I debugged the code, I did ctrl+c to terminate gdbserver-xen, dom0 > immediatelly reboot, which is not expected. Any solution to this problem? That's not supposed to happen. Anything in the logs or on the console? Serial console helps with capturing stuff. > Another question: is there any way to debug the kernel module running in dom0? > gdbserver-xen seems to only debug domU. I haven't tried that. > Again, thanks a lot for your help! You're welcome :)