From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88421 invoked by alias); 7 Dec 2019 14:01:05 -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 88412 invoked by uid 89); 7 Dec 2019 14:01:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*F:D*be, rfa, UD:a.m, RFA X-HELO: mailsec111.isp.belgacom.be Received: from mailsec111.isp.belgacom.be (HELO mailsec111.isp.belgacom.be) (195.238.20.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Dec 2019 14:01:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1575727260; x=1607263260; h=message-id:subject:from:to:date:in-reply-to:references: mime-version:content-transfer-encoding; bh=gvYWH1T+0fmYw0L1M6ELqiP/L7TxV2bMCSX9o3Tl4+I=; b=M/3EPIQ7a+RF1txEf9RAxTTI0/GNHmgH4UUVxjFcX2cI7lAhbqC/W7VC wTHa+o6XBDeoxBv0RDZCbqwTQJrjNw==; IronPort-SDR: 9Yx2fdtVYBxjsuKme+c+wdlbp9TsusVDxnujOR238YHW71fqAjMaMjDj4SyHuHiNW1PkpU112Z mMk1exFpRIyhj+T9Qlb3rQfW7QW+bBOL30Qmefk4Xg/3tWkqkk4U0uUI5FkR9gq2wrW2+mE854 qLRe2nWbvT939yTAExHyl61FsxhgtZof1fK0dkLwrjra9Cx55l4CJVDhpPXN/2X4CB0Zq5/qxZ tj/7jXD9i9CdoNbkK5nGImdUWS9pmmYMunKAPzjsWfEq1jjehC4FtbcvEirOku+Mjbh2YD3KwG 9Ls= Received: from 156.47-242-81.adsl-dyn.isp.belgacom.be (HELO md) ([81.242.47.156]) by relay.skynet.be with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 07 Dec 2019 15:00:57 +0100 Message-ID: <09e7b085ea4f042bd970258655f827dc4f4decaf.camel@skynet.be> Subject: Re: [RFA] Implement 'print -raw-values' and 'set print raw-values on|off' From: Philippe Waroquiers To: Pedro Alves , Simon Marchi , gdb-patches@sourceware.org Date: Sat, 07 Dec 2019 14:01:00 -0000 In-Reply-To: <7e1cdc30-b8c0-2fb0-0fe6-2284b8c7db93@redhat.com> References: <20190807193924.32268-1-philippe.waroquiers@skynet.be> <5b8685bb-465e-ef47-1dc0-0746f489f4f8@simark.ca> <922dc754-deec-6650-f60e-7322599fc6c5@redhat.com> <189517a9-1d4f-fc2c-f159-3356b745240b@simark.ca> <7e1cdc30-b8c0-2fb0-0fe6-2284b8c7db93@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-12/txt/msg00255.txt.bz2 On Wed, 2019-12-04 at 17:19 +0000, Pedro Alves wrote: > On 12/4/19 4:34 PM, Simon Marchi wrote: > > On 2019-12-04 11:24 a.m., Pedro Alves wrote: > > > On 12/4/19 3:43 AM, Simon Marchi wrote: > > > > I'm just a bit worried about the naming, but I don't have anything better > > > > to suggest. I mention it in case you do. The "set print raw-values" sounds > > > > like superset of "set print raw-frame-arguments", because in my mind frame > > > > arguments are printed as values. > > > > > > But isn't it a superset? > > > > From my testing, "set print raw-values on/off" didn't affect how parameter values > > were printed in "bt" or "frame". But I might have tested it wrong. > > Hmm, print_frame_arg does: > > vp_opts.raw = fp_opts.print_raw_frame_arguments; > > and I guess that is what ends up ignoring whatever's > the "set print raw-values" setting, even if you don't > explicitly specify "-raw-frame-arguments". Yes, effectively, "set print raw-values on/off" controls printing expressions from print commands, while "set print raw-frame-arguments" independently controls how the "frame related commands" print their frame arguments. Philippe