Guile: improved rvalue reference support
authorGeorge Barrett <bob@bob131.so>
Wed, 28 Apr 2021 17:32:37 +0000 (03:32 +1000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 12 May 2021 11:35:36 +0000 (12:35 +0100)
commit97cef6b7b79c22a3cc14ef369c1dc09a8bcca357
treefbe15647862a44d89d93cf12e0431bb40a4a38a9
parent84139c58642a8a6b857cad1c50420264452882f9
Guile: improved rvalue reference support

Adds a couple of missing bits to the Guile API to make C++11 rvalue
reference values and types usable from Guile scripts.

gdb/ChangeLog:

* guile/scm-type.c (type_integer_constants): Add binding for
TYPE_CODE_RVALUE_REF.
* guile/scm-value.c (gdbscm_value_referenced_value): Handle
dereferencing of rvalue references.
* NEWS (Guile API): Note improvements in rvalue reference support.

gdb/doc/ChangeLog:

* guile.texi (Types In Guile): Add documentation for
TYPE_CODE_RVALUE_REF.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/guile.texi
gdb/guile/scm-type.c
gdb/guile/scm-value.c