From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6216 invoked by alias); 16 Sep 2009 14:45:10 -0000 Received: (qmail 6194 invoked by uid 22791); 16 Sep 2009 14:45:08 -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 mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 14:45:05 +0000 Received: (qmail 2221 invoked from network); 16 Sep 2009 14:45:03 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 16 Sep 2009 14:45:03 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: Another proposal for frontends and queries. Date: Wed, 16 Sep 2009 14:45:00 -0000 User-Agent: KMail/1.9.10 Cc: Hui Zhu , Joel Brobecker , Marc Khouzam , Michael Snyder References: <20090916142543.GC8910@adacore.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909161545.16634.pedro@codesourcery.com> 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/msg00516.txt.bz2 On Wednesday 16 September 2009 15:33:36, Hui Zhu wrote: > Because it will delete the execution log follow this insn. The user in the CLI still has to type an explicit 'y' for that to happen. The default only applies when there's no terminal. The right question to be asking is: what should be the default answer in batch scripts. Keep in mind that this all relates to the fact that there is no "record status" command, that scripts and frontends could use to query the record status, and be able to decide upfront what to do, instead of gdb doing a query after the fact. Last time I brought that up, it was agreed that it would be a good thing to have. Anyone working on that? -- Pedro Alves