From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25407 invoked by alias); 28 Jul 2009 01:55:44 -0000 Received: (qmail 25271 invoked by uid 22791); 28 Jul 2009 01:55:43 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Jul 2009 01:55:37 +0000 Received: from totara (unknown [123.255.31.171]) by viper.snap.net.nz (Postfix) with ESMTP id 70C533DAB72; Tue, 28 Jul 2009 13:55:34 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 3F3F9C15A; Tue, 28 Jul 2009 13:55:33 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19054.23189.193878.534661@totara.tehura.co.nz> Date: Tue, 28 Jul 2009 01:55:00 -0000 To: Tom Tromey Cc: "Marc Khouzam" , Subject: Re: [RFC] Queries and frontends In-Reply-To: References: <6D19CA8D71C89C43A057926FE0D4ADAA07C00023@ecamlmw720.eamcs.ericsson.se> <19045.23703.743876.775308@totara.tehura.co.nz> <19053.2107.342469.683795@totara.tehura.co.nz> From: nickrob@snap.net.nz (Nick Roberts) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00215.txt.bz2 Tom Tromey writes: > >>>>> "Nick" == Nick Roberts writes: > > Nick> I don't quite follow. AFAIK defaulted_query knows nothing about > Nick> server_command. > > Yes, but it could. > > Since "server" is intended to hide commands from the user, why check > server_command at one particular query rather than in every query? Because that would change existing behaviour. It's probably a small risk as no one else appears to be using the server prefix or, if they are, they have kept a very low profile. Just changing "record stop" is sufficient for Emacs at the moment. You could say it's quick and nasty but I would call it pragmatic. We could still change it in the future but I thought annotations were deprecated i.e. on the path to being removed and their development generally discouraged (I see the server prefix as part of annotations. -- Nick http://www.inet.net.nz/~nickrob