From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103164 invoked by alias); 8 Jul 2015 20:06:20 -0000 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 Received: (qmail 103143 invoked by uid 89); 8 Jul 2015 20:06:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-HELO: mtaout20.012.net.il Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Jul 2015 20:06:16 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NR600G00QEV7300@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Wed, 08 Jul 2015 23:06:14 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR600GOLQIB3830@a-mtaout20.012.net.il>; Wed, 08 Jul 2015 23:06:14 +0300 (IDT) Date: Wed, 08 Jul 2015 20:06:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] Use of create_new_frame from 'frame'. In-reply-to: <559D7E09.6080202@redhat.com> To: Pedro Alves Cc: andrew.burgess@embecosm.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83bnfmv2hd.fsf@gnu.org> References: <20150708170944.GA17985@embecosm.com> <83io9uv3lb.fsf@gnu.org> <559D7E09.6080202@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00254.txt.bz2 > Date: Wed, 08 Jul 2015 20:46:17 +0100 > From: Pedro Alves > CC: gdb-patches@sourceware.org > > > You could also ask the user for confirmation, when the command is > > going to create a new frame. > > I'd rather the explicit approach, because querying works when > in interactive mode, but not with scripts. We've got the same situation with umpteen other commands, and we also have a solution for scripts: we implicitly assume a NO answer. But I'm not going to insist. I just wanted to remind us that there's one more alternative.