From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29357 invoked by alias); 16 Sep 2009 14:26:39 -0000 Received: (qmail 29348 invoked by uid 22791); 16 Sep 2009 14:26:39 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 14:26:35 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6E9BD2BAAB1; Wed, 16 Sep 2009 10:26:33 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ERPbzlxNkVlK; Wed, 16 Sep 2009 10:26:33 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B9AE82BABDF; Wed, 16 Sep 2009 10:26:13 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id CA697F58E1; Wed, 16 Sep 2009 07:25:43 -0700 (PDT) Date: Wed, 16 Sep 2009 14:26:00 -0000 From: Joel Brobecker To: Hui Zhu Cc: Marc Khouzam , Pedro Alves , "gdb-patches@sourceware.org" , Michael Snyder Subject: Re: Another proposal for frontends and queries. Message-ID: <20090916142543.GC8910@adacore.com> References: <200909161425.48262.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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/msg00513.txt.bz2 > And about the patch I said can handle this issue is "set record query > " patch. I cannot find who don't like this patch. I am one of the maintainers would dislike this idea. > On the other hand, about the nquery. > Let me talk my idea. The nquery is a function of GDB right? MI is a > function of GDB too. Eclipse is a very important soft that support > GDB. > If you want change nquery to query, why not remove nquery directly? I had the same thoughts, actually. But we have one more usage of that function relative to pending breakpoints, and for some reason it was decided that the default was 'n' rather than 'y'. Not sure why. I'm also thinking that what we need is an enhancement of the MI protocol to handle queries that the frontends can then pass to the user for answering. But this is just a wild idea at this point, as I don't know the MI protocol much. Plus, it would probably be a fairly significant update unsuitable for 7.0. -- Joel