From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9068 invoked by alias); 25 Mar 2008 12:30:31 -0000 Received: (qmail 9001 invoked by uid 22791); 25 Mar 2008 12:30:30 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Mar 2008 12:30:13 +0000 Received: (qmail 15733 invoked from network); 25 Mar 2008 12:30:11 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Mar 2008 12:30:11 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: linux native async fix Date: Tue, 25 Mar 2008 12:30:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200803241749.07975.pedro@codesourcery.com> <20080324224849.GA21105@caradoc.them.org> In-Reply-To: <20080324224849.GA21105@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803251230.20089.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00383.txt.bz2 A Monday 24 March 2008 22:48:49, Daniel Jacobowitz wrote: > On Mon, Mar 24, 2008 at 05:49:07PM +0000, Pedro Alves wrote: > > 2008-03-24 Pedro Alves > > > > * linux-nat.c (drain_queued_events): Fix comment typo. > > (linux_nat_attach): In async mode, don't rely on storing a pending > > status. Instead place the wait status on the pipe. > > (linux_nat_resume): Remove unreacheable shortcut code in async > > mode. > > (stop_wait_callback): In async mode, don't store pending status. > > Instead, cancel breakpoints or resend the signal appropriatelly. > > (cancel_breakpoint): New, refactored from > > cancel_breakpoints_callback. > > (cancel_breakpoints_callback): Call cancel_breakpoint. > > (pipe_to_local_event_queue): Remove special token processing. > > (linux_nat_wait): Issue an internal error if a pending status is > > found in async mode. > > OK. Thank you. Checked in. -- Pedro Alves