From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14105 invoked by alias); 18 Sep 2012 14:12:57 -0000 Received: (qmail 14092 invoked by uid 22791); 18 Sep 2012 14:12:56 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from imr4.ericy.com (HELO imr4.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Sep 2012 14:12:38 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id q8IEHH4r014020; Tue, 18 Sep 2012 09:17:40 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.2.164]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Tue, 18 Sep 2012 10:12:28 -0400 From: Marc Khouzam To: "'Yao Qi'" , "'gdb-patches@sourceware.org'" Date: Tue, 18 Sep 2012 14:12:00 -0000 Subject: RE: [RFC 0/2, gdbserver] Set linux target in async mode in default Message-ID: References: <1347961672-18495-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1347961672-18495-1-git-send-email-yao@codesourcery.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-09/txt/msg00358.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Yao Qi > Sent: Tuesday, September 18, 2012 5:48 AM > To: gdb-patches@sourceware.org > Subject: [RFC 0/2, gdbserver] Set linux target in async mode=20 > in default >=20 > Hi, > When writing the V2 of 'A general notification in GDB RSP' patch > series, I find async mode isn't turned on unless non-stop mode is > turned on. After I generalize 'async notification' and support both > non-stop and all-stop, it is required to turn async on even=20 > in all-stop > mode. Async can be regarded as an infrastructure in linux target to > serve for other functionalities, such as 'notification' and > 'non-stop'. This is what patch 1/2 tries to do. Regression tested on > x86_64-linux with boardfile ntaive-gdbserver and > native-extended-gdbserver. To clarify, after this patch we can still use "-gdb-set target-async off" to turn off async mode right? Eclipse currently uses non-async mode for all-stop and some code is based on that assumption (e.g., interrupting the target) so we need to keep non-async available. Thanks Marc >=20 > After patch 1/2 is applied, target_async is not used in common code, > so patch 2/2 is to remove macro target_async and field 'async' in > struct 'target_ops' as a cleanup. >=20 >=20