From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22080 invoked by alias); 21 Feb 2006 20:41:47 -0000 Received: (qmail 22027 invoked from network); 21 Feb 2006 20:41:44 -0000 Received: from unknown (195.23.133.217) by sourceware.org with QMTP; 21 Feb 2006 20:41:44 -0000 Received: (qmail 17331 invoked from network); 21 Feb 2006 20:41:43 -0000 Received: from unknown (HELO mailfrt08.isp.novis.pt) ([195.23.133.200]) (envelope-sender ) by mailrly07.isp.novis.pt with compressed SMTP; 21 Feb 2006 20:41:43 -0000 Received: (qmail 26533 invoked from network); 21 Feb 2006 20:41:42 -0000 Received: from unknown (HELO [127.0.0.1]) ([195.23.225.149]) (envelope-sender ) by mailfrt08.isp.novis.pt with SMTP; 21 Feb 2006 20:41:42 -0000 Message-ID: <43FB7B0C.2010703@portugalmail.pt> Date: Tue, 21 Feb 2006 21:42:00 -0000 From: Pedro Alves User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: gdb@sourceware.org Subject: gdb on arm-wince-pe Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0608-0, 20-02-2006), Outbound message X-Antivirus-Status: Clean 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/msg00284.txt.bz2 Hi all! I have gdb built for target arm-wince-pe on a cygwin host. This if for I new project I am developing to bring gnu tools for arm-wince-pe up to speed. Check out cegcc if you're interested. (http://developer.berlios.de/projects/cegcc/) I am now looking into gdb to implement a few missing things and trying to remove a few quirks here and there. I have been looking through the code for a few hours to get a grasp on gdb internals. With some patches the gdb/wince-stub.c is now working ok. Not perfect yet, but working. I now want to implement CTRL_c breaking into the remote app. It currently does nothing when the target program is being debugged, and prints "Quit" when there is no program being debugged. 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? Cheers, Pedro Alves P.S. Please add me to the cc list, as I am not (yet) on this mailing list.