aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-02-12 08:04:07 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:22:17 -0700
commit0d0f488e1dd2761d2681f13b318f6e3f5eb6a5e3 (patch)
tree830fc81825bf5cde8e3e0f3e1f803b152dd440ba /gdb/guile
parente6cf1e1b42c1e44610cc8b2997f883275f0b244d (diff)
downloadbinutils-0d0f488e1dd2761d2681f13b318f6e3f5eb6a5e3.zip
binutils-0d0f488e1dd2761d2681f13b318f6e3f5eb6a5e3.tar.gz
binutils-0d0f488e1dd2761d2681f13b318f6e3f5eb6a5e3.tar.bz2
Turn record_latest_value into a method
record_latest_value now access some internals of struct value, so turn it into a method. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c
index a0b7e66..ac948dc 100644
--- a/gdb/guile/scm-value.c
+++ b/gdb/guile/scm-value.c
@@ -1330,7 +1330,7 @@ gdbscm_history_append_x (SCM value)
= vlscm_get_value_smob_arg_unsafe (value, SCM_ARG1, FUNC_NAME);
return gdbscm_wrap ([=]
{
- return scm_from_int (record_latest_value (v_smob->value));
+ return scm_from_int (v_smob->value->record_latest ());
});
}