From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96708 invoked by alias); 4 Dec 2019 16:34:27 -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 96642 invoked by uid 89); 4 Dec 2019 16:34:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=HTo:U*palves X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Dec 2019 16:34:25 +0000 Received: from [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 0807F1E092; Wed, 4 Dec 2019 11:34:23 -0500 (EST) Subject: Re: [RFA] Implement 'print -raw-values' and 'set print raw-values on|off' To: Pedro Alves , Philippe Waroquiers , gdb-patches@sourceware.org References: <20190807193924.32268-1-philippe.waroquiers@skynet.be> <5b8685bb-465e-ef47-1dc0-0746f489f4f8@simark.ca> <922dc754-deec-6650-f60e-7322599fc6c5@redhat.com> From: Simon Marchi Message-ID: <189517a9-1d4f-fc2c-f159-3356b745240b@simark.ca> Date: Wed, 04 Dec 2019 16:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <922dc754-deec-6650-f60e-7322599fc6c5@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-12/txt/msg00144.txt.bz2 On 2019-12-04 11:24 a.m., Pedro Alves wrote: > On 12/4/19 3:43 AM, Simon Marchi wrote: >> On 2019-08-07 3:39 p.m., Philippe Waroquiers wrote: >>> The option framework documentation was speaking about a 'print -raw' >>> option, but this option does not exist. > > Eh. I think I recall that it would be a good idea to have it, > like I made "bt -full/-no-filters/-hide" options to > supersede "bt full/no-filters/hide", but then dropped it for some > reason. > > So +1 from me. > > (But see the other email I sent.) > >>> >>> This patch implements -raw-values option that tells to ignore the >>> active pretty printers when printing a value. >>> As we already have -raw-frame-arguments, I thought -raw-values >>> was more clear, in particular to differentiate >>> set print raw-values and set print raw-frame-arguments. >> >> Hi Philippe, >> >> 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. Simon