aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 14:43:22 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:22:16 -0700
commitcda0334434412d888443e9a98386255f2e0c2eab (patch)
treef8c03f634efa3dab4e58cb8888f47c073ea21ebe /gdb/guile
parente18312bb596fcc9b4df1d018038690df28a68b46 (diff)
downloadfsf-binutils-gdb-cda0334434412d888443e9a98386255f2e0c2eab.zip
fsf-binutils-gdb-cda0334434412d888443e9a98386255f2e0c2eab.tar.gz
fsf-binutils-gdb-cda0334434412d888443e9a98386255f2e0c2eab.tar.bz2
Turn value_copy into a method
This turns value_copy into a method of value. Much of this was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index dcbdef5..5036871 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -744,7 +744,7 @@ vlscm_convert_typed_value_from_scheme (const char *func_name,
value = NULL;
}
else
- value = value_copy (vlscm_scm_to_value (obj));
+ value = vlscm_scm_to_value (obj)->copy ();
}
else if (gdbscm_is_true (scm_bytevector_p (obj)))
{