public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Guile: add value-{reference,const}-value
@ 2021-04-26 19:35 George Barrett
  2021-04-26 19:36 ` [PATCH v2 1/3] Guile: improve rvalue support George Barrett
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: George Barrett @ 2021-04-26 19:35 UTC (permalink / raw)
  To: gdb-patches; +Cc: George Barrett

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.

George Barrett (3):
  Guile: improve rvalue support
  Guile: add {r,}value-reference-value
  Guile: add value-const-value

 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 ++++++
 4 files changed, 98 insertions(+)

-- 
2.30.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-27 16:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 19:35 [PATCH v2 0/3] Guile: add value-{reference,const}-value George Barrett
2021-04-26 19:36 ` [PATCH v2 1/3] Guile: improve rvalue support George Barrett
2021-04-27 13:58   ` Eli Zaretskii
2021-04-26 19:36 ` [PATCH v2 2/3] Guile: add {r,}value-reference-value George Barrett
2021-04-27 13:59   ` Eli Zaretskii
2021-04-27 15:51     ` George Barrett
2021-04-27 16:06       ` Eli Zaretskii
2021-04-26 19:36 ` [PATCH v2 3/3] Guile: add value-const-value George Barrett
2021-04-27 13:57   ` Eli Zaretskii
2021-04-27 15:00     ` George Barrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).