[PATCH v3 3/3] Guile: add value-const-value
Eli Zaretskii
eliz@gnu.org
Wed Apr 28 16:39:49 GMT 2021
> Date: Thu, 29 Apr 2021 02:27:49 +1000
> From: George Barrett via Gdb-patches <gdb-patches@sourceware.org>
> Cc: George Barrett <bob@bob131.so>
>
> The Guile API doesn't currently have an equivalent to the Python API's
> gdb.Value.const_value(). This commit adds a procedure with equivalent
> semantics to the Guile API.
>
> gdb/ChangeLog:
>
> 2021-04-29 George Barrett <bob@bob131.so>
>
> * guile/scm-value.c (gdbscm_value_const_value): Add
> implementation of value-const-value procedure.
> (value_functions): Add value-const-value procedure.
> * NEWS (Guile API): Note the addition of the new procedure.
>
> gdb/doc/ChangeLog:
>
> 2021-04-29 George Barrett <bob@bob131.so>
>
> * guile.texi (Values From Inferior In Guile): Add
> documentation for value-const-value.
>
> gdb/testsuite/ChangeLog:
>
> 2021-04-29 George Barrett <bob@bob131.so>
>
> * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
> for value-const-value.
OK for the documentation parts.
Thanks.
More information about the Gdb-patches
mailing list