From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25749 invoked by alias); 5 Jun 2008 19:25:15 -0000 Received: (qmail 25731 invoked by uid 22791); 5 Jun 2008 19:25:14 -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; Thu, 05 Jun 2008 19:24:55 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 97B3A98371; Thu, 5 Jun 2008 19:24:53 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 767FB9809F; Thu, 5 Jun 2008 19:24:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K4L4u-0008RP-P8; Thu, 05 Jun 2008 15:24:52 -0400 Date: Thu, 05 Jun 2008 19:25:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: replace 'target async' by a maintenance command Message-ID: <20080605192452.GE25085@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <200805171558.21392.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805171558.21392.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2008-05-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-06/txt/msg00059.txt.bz2 On Sat, May 17, 2008 at 03:58:21PM +0100, Pedro Alves wrote: > OK? OK. Thanks for doing this, it's wanted doing for ages. > @@ -3132,11 +3130,10 @@ remote_resume (ptid_t ptid, int step, en > putpkt (buf); > } > > -/* Same as remote_resume, but with async support. */ > static void > -remote_async_resume (ptid_t ptid, int step, enum target_signal siggnal) > +remote_resume (ptid_t ptid, int step, enum target_signal siggnal) > { > - remote_resume (ptid, step, siggnal); > + remote_resume_1 (ptid, step, siggnal); > > /* We are about to start executing the inferior, let's register it > with the event loop. NOTE: this is the one place where all the This is now the only caller of remote_resume_1, you can just combine the two functions. -- Daniel Jacobowitz CodeSourcery