From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3510 invoked by alias); 4 Dec 2019 17:19:13 -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 3502 invoked by uid 89); 4 Dec 2019 17:19:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Dec 2019 17:19:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575479950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H67onv5qES1XJlN4+3yNMh8usWYCpyopexuS//zvKkc=; b=fVX0XzYwncxSJfyWEahJNLcuV7E1MjiNNcAMK4bx/kYa7g2effGKIZXJhgZNfPux0QwS48 Zz5VFJLk9P3tst/qvWSgrQf+nwqeR6MvD4YckU0yupxLnPOEDaaLcoYddTfYKdiJDJ+KAS HaHiZ9NKZDCF/Sfswf/pSwCve9Nu7Zk= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-265-r7gj_kDqPAyGK6NJon92DA-1; Wed, 04 Dec 2019 12:19:03 -0500 Received: by mail-wr1-f72.google.com with SMTP id u12so146842wrt.15 for ; Wed, 04 Dec 2019 09:19:02 -0800 (PST) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id h2sm9270836wrt.45.2019.12.04.09.19.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Dec 2019 09:19:01 -0800 (PST) Subject: Re: [RFA] Implement 'print -raw-values' and 'set print raw-values on|off' To: Simon Marchi , 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> <189517a9-1d4f-fc2c-f159-3356b745240b@simark.ca> From: Pedro Alves Message-ID: <7e1cdc30-b8c0-2fb0-0fe6-2284b8c7db93@redhat.com> Date: Wed, 04 Dec 2019 17:19:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <189517a9-1d4f-fc2c-f159-3356b745240b@simark.ca> X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2019-12/txt/msg00152.txt.bz2 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". Thanks, Pedro Alves