From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7763 invoked by alias); 22 Feb 2006 05:24:11 -0000 Received: (qmail 7750 invoked by uid 22791); 22 Feb 2006 05:24:10 -0000 X-Spam-Check-By: sourceware.org Received: from cgf.cx (HELO cgf.cx) (24.61.23.223) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Feb 2006 05:24:08 +0000 Received: by cgf.cx (Postfix, from userid 201) id C48CE4A86DF; Wed, 22 Feb 2006 00:24:05 -0500 (EST) Date: Wed, 22 Feb 2006 14:29:00 -0000 From: Christopher Faylor To: Pedro Alves , gdb@sourceware.org Subject: Re: gdb on arm-wince-pe Message-ID: <20060222052405.GD17740@trixie.casa.cgf.cx> Mail-Followup-To: Pedro Alves , gdb@sourceware.org References: <43FB7B0C.2010703@portugalmail.pt> <20060222044009.GB10442@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060222044009.GB10442@nevyn.them.org> User-Agent: Mutt/1.5.11 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00290.txt.bz2 On Tue, Feb 21, 2006 at 11:40:09PM -0500, Daniel Jacobowitz wrote: >On Tue, Feb 21, 2006 at 08:41:48PM +0000, Pedro Alves wrote: >> Where should I start looking for/what is needed to implement it (ctrl_c >> breaking)? >> I tried debugging arm-wince-pe-gdb on gdb itself, putting some >> breakpoints in the signal handling, >> and issuing kill -INT signals to see what happens there, and I see that >> ultimatly, quit (void) is called. >> Is there some target_op that I should implement, or should I provide my >> own signal handling? > >Take a look at remote.c, which installs its own signal handler. You'll >want to do something similar. > >Really, if possible, I would recommend using remote.c to talk to your >target over the standard GDB remote protocol instead of the >WinCE-specific protocol that wince-stub.c implements. That's much >better supported. As the author of the WinCE-specific protocol, I agree 100%. Really, I think that the WinCE targets should be deprecated since they no longer have a maintainer. cgf