From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19927 invoked by alias); 29 Feb 2008 22:25:22 -0000 Received: (qmail 19900 invoked by uid 22791); 29 Feb 2008 22:25:21 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Feb 2008 22:24:54 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 21B2C983A1; Fri, 29 Feb 2008 22:24:52 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id ED3609831E; Fri, 29 Feb 2008 22:24:51 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JVDes-0005eE-Pl; Fri, 29 Feb 2008 17:24:50 -0500 Date: Fri, 29 Feb 2008 22:49:00 -0000 From: Daniel Jacobowitz To: Antony KING Cc: gdb@sourceware.org Subject: Re: Any solution to not being able to interrupt step in GDB ? Message-ID: <20080229222450.GA21398@caradoc.them.org> Mail-Followup-To: Antony KING , gdb@sourceware.org References: <47C5DD59.5090608@st.com> <20080227221218.GA27709@caradoc.them.org> <47C5E7E8.4000309@st.com> <20080227225435.GA30252@caradoc.them.org> <47C881B8.30401@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C881B8.30401@st.com> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00274.txt.bz2 On Fri, Feb 29, 2008 at 10:05:44PM +0000, Antony KING wrote: > Daniel Jacobowitz wrote: >> Why doesn't quit_flag get set? That's how I think we ought to do >> this. Avoid immediate_quit, that's dangerous to mess with. > > In my grep'ing of the (6.6) sources, I could only find quit_flag being > set when async_request_quit() is called, by the event processing loop. It > is also set in request_quit() but this API does not seem to be used. Are you working on 6.6 rather than HEAD? Fred Fish moved quit_flag setting from async_request_quit to handle_sigint on 2007-02-09, which is later than your sources. That should simplify things a bit! -- Daniel Jacobowitz CodeSourcery