aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorGeorge Barrett <bob@bob131.so>2021-04-29 03:32:56 +1000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-05-12 12:35:36 +0100
commitee35ce8200dcd1754061d5dc90fb53f9504c6394 (patch)
tree436b3d555f9ce56c920fee03627b5badbd7d5a84 /gdb/ChangeLog
parent9d4fc61d41a0aef2d199e2b18d238603a8e4be98 (diff)
downloadbinutils-ee35ce8200dcd1754061d5dc90fb53f9504c6394.zip
binutils-ee35ce8200dcd1754061d5dc90fb53f9504c6394.tar.gz
binutils-ee35ce8200dcd1754061d5dc90fb53f9504c6394.tar.bz2
Guile: add value-const-value
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: * NEWS (Guile API): Note the addition of the new procedure. * guile/scm-value.c (gdbscm_value_const_value): Add implementation of value-const-value procedure. (value_functions): Add value-const-value procedure. gdb/doc/ChangeLog: * guile.texi (Values From Inferior In Guile): Add documentation for value-const-value. gdb/testsuite/ChangeLog: * gdb.guile/scm-value.exp (test_value_in_inferior): Add test for value-const-value.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f29f60a..8ef5eb6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
2021-05-12 George Barrett <bob@bob131.so>
+ * NEWS (Guile API): Note the addition of the new procedure.
+ * guile/scm-value.c (gdbscm_value_const_value): Add
+ implementation of value-const-value procedure.
+ (value_functions): Add value-const-value procedure.
+
+2021-05-12 George Barrett <bob@bob131.so>
+
* NEWS (Guile API): Note the addition of new procedures.
* guile/scm-value.c (gdbscm_reference_value): Add helper function
for reference value creation.