From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9842 invoked by alias); 11 Sep 2009 22:07:33 -0000 Received: (qmail 9834 invoked by uid 22791); 11 Sep 2009 22:07:33 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Sep 2009 22:07:28 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8BM7Pcs032319; Fri, 11 Sep 2009 18:07:25 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8BM7OKZ017504; Fri, 11 Sep 2009 18:07:24 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8BM7Nqn004695; Fri, 11 Sep 2009 18:07:23 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D358C378188; Fri, 11 Sep 2009 16:07:22 -0600 (MDT) From: Tom Tromey To: Marc Khouzam Cc: "'gdb-patches\@sourceware.org'" Subject: Re: set record query References: Reply-To: tromey@redhat.com Date: Fri, 11 Sep 2009 22:07:00 -0000 In-Reply-To: (Marc Khouzam's message of "Fri, 11 Sep 2009 11:03:45 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00343.txt.bz2 >>>>> "Marc" == Marc Khouzam writes: Marc> here is a patch to allow to enable/disable the queries Marc> used in Record. It is relevant to: Marc> http://sourceware.org/ml/gdb/2009-09/msg00165.html Marc> What do you think? It seems like a strange approach to me. I don't think I know the whole background here. Is this to help users who enter commands at a console? Or MI? Or CLI commands sent by Eclipse, but not from a user console (that is, in response to some GUI control)? For MI, it seems like there should be arguments to the internal function and then the MI commands should disable querying that way. That is, you don't need a new user-visible setting for this. For the CLI-commands-sent-by-Eclipse case, it seems like you could use the "server" prefix. For the console case... it seems to me that queries are just a necessary part of that. Tom