From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.bob131.so (server2.bob131.so [128.199.153.143]) by sourceware.org (Postfix) with ESMTPS id 6A7803940CF0 for ; Wed, 28 Apr 2021 16:27:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6A7803940CF0 Received: from internal.mail.bob131.so (localhost [127.0.0.1]) by mail.bob131.so (Postfix) with ESMTP id A172F53CB4; Wed, 28 Apr 2021 16:27:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.bob131.so A172F53CB4 Date: Thu, 29 Apr 2021 02:27:15 +1000 From: George Barrett To: gdb-patches@sourceware.org Cc: George Barrett Subject: [PATCH v3 0/3] Guile: add value-{reference,const}-value Message-ID: <&e1lx8mojs1b03hu3o_asydo0za8-nyh&337akgbzjn.o13/-otj@mail.bob131.so> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Wed, 28 Apr 2021 16:27:21 -0000 A couple of simple patches implementing functions missing from the Guile API (relative to the Python API). Both are straight-forward translations of the Python implementations. Feedback on the original series pointed out that the Python API also has a Value.rvalue_reference_value() method and that a matching Guile procedure should be introduced alongside value-reference-value, owing to their similarity. This v2 series updates the patch as indicated; an additional patch improving the Guile support for rvalue reference types is included to allow for writing an appropriate test. Feedback on the v2 series pointed out mistaken quoting in the texinfo manual diff and suggested that API changes be listed in the NEWS file. This series includes improvements as suggested. George Barrett (3): Guile: improved rvalue reference support Guile: add {r,}value-reference-value Guile: add value-const-value gdb/NEWS | 11 +++++ gdb/doc/guile.texi | 18 ++++++++ gdb/guile/scm-type.c | 1 + gdb/guile/scm-value.c | 66 +++++++++++++++++++++++++++ gdb/testsuite/gdb.guile/scm-value.exp | 13 ++++++ 5 files changed, 109 insertions(+) -- 2.30.2