From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5853 invoked by alias); 16 Sep 2009 12:38:33 -0000 Received: (qmail 5829 invoked by uid 22791); 16 Sep 2009 12:38:33 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 12:38:27 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id n8GCbeBI026720; Wed, 16 Sep 2009 07:37:41 -0500 Received: from eusrcmw751.eamcs.ericsson.se ([138.85.77.51]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:37:20 -0500 Received: from eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:37:20 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.20]) by eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) with mapi; Wed, 16 Sep 2009 08:37:19 -0400 From: Marc Khouzam To: "'Hui Zhu'" , "'Joel Brobecker'" CC: "'gdb-patches@sourceware.org'" , "'Michael Snyder'" Date: Wed, 16 Sep 2009 12:38:00 -0000 Subject: RE: Another proposal for frontends and queries. Message-ID: References: <20090914140910.GD8327@adacore.com> <200909141548.53578.pedro@codesourcery.com> <20090914150843.GF8327@adacore.com> <20090915162601.GA26952@adacore.com> In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" 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: 2009-09/txt/msg00506.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Hui Zhu > Sent: Wednesday, September 16, 2009 2:25 AM > To: Joel Brobecker > Cc: gdb-patches@sourceware.org; Marc Khouzam; Michael Snyder > Subject: Re: Another proposal for frontends and queries. >=20 > On Wed, Sep 16, 2009 at 00:26, Joel Brobecker=20 > wrote: > > Marc, Hui, > > > >> > I think we should scrap out nquery from record.c,=20 > turning those to > >> > query's, 'error's or normal stops, appropriately. =A0What=20 > would be missed? > > > > Branch time is very soon, but such a change would be acceptable on > > the branch too. I just want to make sure that we reach a=20 > solution before > > the 7.0 release, and preferably before the first pre-release, which > > should be a day or two after the branch. > > > > Hui, would you agree with changing the nquery calls into=20 > calls to query? >=20 > Sorry I didn't follow this thread very clear. >=20 > We really need to do it? I think add a switch (Like Marc did) or fix > the nquery is better. I guess the question that has come up is: is it very important to use nquery() in PReccord instead of query()? If we simply use query() then PRecord will work well with Eclipse (and maybe other frontends). The user should be smart enough to understand what the query means and should do just fine with ("y or n") instead of ("y or [n]") Having that "[n]" seems of less value than getting PRecord to work with Frontends, no? Thanks Marc