From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4240 invoked by alias); 23 Dec 2011 16:01:20 -0000 Received: (qmail 4231 invoked by uid 22791); 23 Dec 2011 16:01:16 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 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; Fri, 23 Dec 2011 16:01:01 +0000 Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id pBNFxcDk026181; Fri, 23 Dec 2011 10:00:58 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.43]) by eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) with mapi; Fri, 23 Dec 2011 11:00:51 -0500 From: Marc Khouzam To: "'Pedro Alves'" , "'gdb-patches@sourceware.org'" Date: Fri, 23 Dec 2011 18:04:00 -0000 Subject: RE: [RFC/WIP PATCH v2 01/12] Flip to set target-async on by default Message-ID: References: <20111217025904.22456.50717.stgit@localhost6.localdomain6> <20111217025910.22456.89111.stgit@localhost6.localdomain6> In-Reply-To: <20111217025910.22456.89111.stgit@localhost6.localdomain6> 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: 2011-12/txt/msg00811.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Pedro Alves > Sent: Friday, December 16, 2011 9:59 PM > To: gdb-patches@sourceware.org > Subject: [RFC/WIP PATCH v2 01/12] Flip to set target-async on=20 > by default >=20 > This flips "set target-async" to default to on. Marc Khouzam's > earlier reply (on the v1 series) indicating Eclipse does not use > target-async for all-stop makes me think it may be prudent to actually > try this with Eclipse and see what happens. Haven't done that though. I tried all-stop in Eclipse with target-async on. As expected, things didn't work. Most notably, the interrupt no longer worked since Eclipse uses ^C in all-stop. So, I've just pushed a fix to Eclipse to explicitly set target-async to off when in all-stop mode. http://bugs.eclipse.org/365471 Note that in Eclipse/CDT, we have two GDB integrations.=20=20 The default and the one we work on regularly (DSF-GDB) is the one I fixed. The older one, almost deprecated, (CDI-GDB), I didn't fix just yet because= =20 it wasn't as simple. Worst case, the user will need to add set target-async off in their gdbinit file, if they must use the old integration. Happy Holidays! Marc