From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13627 invoked by alias); 24 Mar 2008 22:49:12 -0000 Received: (qmail 13617 invoked by uid 22791); 24 Mar 2008 22:49:12 -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; Mon, 24 Mar 2008 22:48:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 66783983C6; Mon, 24 Mar 2008 22:48:50 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 370449810C; Mon, 24 Mar 2008 22:48:50 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JdvTF-0005ZD-74; Mon, 24 Mar 2008 18:48:49 -0400 Date: Mon, 24 Mar 2008 22:49:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: linux native async fix Message-ID: <20080324224849.GA21105@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <200803241749.07975.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803241749.07975.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00370.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery