From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id D2CE93857BBF for ; Fri, 15 Jul 2022 15:24:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D2CE93857BBF Received: by mail-il1-x12f.google.com with SMTP id m20so2680325ili.3 for ; Fri, 15 Jul 2022 08:24:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=JewPVkswD+eSdr4mTf3iATRQVWXwgMF18czMFa2A2QA=; b=3c5DwqOmzDHqNpMZ7zjOEyYKC97lrWceytIJhaeuXKMurDJOxZjp54k68naxKC7j45 9ZWxiMDG6AwjtuES+PWzAa0mTbM8ucydMbaw7wNj/PhwrZmIvGQgGsnwfNjdJH7k7qQ7 vwFqioPriKTjAB27Rp1+0O7pIzBvh1WkFWeKV/bQGFiRLAOkQWMKoe6GBBfkd3YmpkTo kzXlKhcRBnolIc+6cjglHCklC7OyWXNdFMIY7nf2FefjKdkVnLAmEpgIsA3hQ7zcyipL lLCnqqMHpAIlwl1f7IO1jZhtg+w9Q/tPWAb8kMPOgWtixlHZCl4NndhRRhBS3ywIf0iE YbYw== X-Gm-Message-State: AJIora+fRE4uvko+Sqx/fReB95KCgonmq3z3Ti5noC7DxgEYIRU+zvFz bx7XIVmpVic9lhDPa11uEPmqVQ== X-Google-Smtp-Source: AGRyM1vN2ELQAqXMBUHvu7Y8/DmY6ZkZtUYXe82q7fxw+SlNHTpylIyi9OJGs0TWGwTrwWezGnkn2w== X-Received: by 2002:a05:6e02:1b0c:b0:2dc:8b29:f1d5 with SMTP id i12-20020a056e021b0c00b002dc8b29f1d5mr7376701ilv.184.1657898668021; Fri, 15 Jul 2022 08:24:28 -0700 (PDT) Received: from murgatroyd (71-211-185-228.hlrn.qwest.net. [71.211.185.228]) by smtp.gmail.com with ESMTPSA id o15-20020a056e02092f00b002dc366ae7easm1797854ilt.74.2022.07.15.08.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 08:24:27 -0700 (PDT) From: Tom Tromey To: Tom Tromey via Gdb-patches Cc: Tom Tromey Subject: Re: [PATCH 0/2] More introspection for Value.format_string References: <20220607154226.3281521-1-tromey@adacore.com> X-Attribution: Tom Date: Fri, 15 Jul 2022 09:24:27 -0600 In-Reply-To: <20220607154226.3281521-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Tue, 7 Jun 2022 09:42:24 -0600") Message-ID: <87sfn2qtzo.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2022 15:24:31 -0000 >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> This series addresses a longstanding wish to be able to access the Tom> value_print_options from pretty-printers. Tom> First, it exposes this information via a new API. Tom> Second, when a 'print' is in effect, it arranges for the local print Tom> options to be stored and then applied by Value.format_string. This Tom> makes it so that format_string respect the current settings by Tom> default. Tom> Finally, this series exposes the 'summary' field from Tom> value_print_options. Tom> Regression tested on x86-64 Fedora 34. I've updated this series and re-tested it, and now I'm checking it in. Tom