diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 14:43:22 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:16 -0700 |
commit | cda0334434412d888443e9a98386255f2e0c2eab (patch) | |
tree | f8c03f634efa3dab4e58cb8888f47c073ea21ebe /gdb/guile/scm-math.c | |
parent | e18312bb596fcc9b4df1d018038690df28a68b46 (diff) | |
download | binutils-cda0334434412d888443e9a98386255f2e0c2eab.zip binutils-cda0334434412d888443e9a98386255f2e0c2eab.tar.gz binutils-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/scm-math.c')
-rw-r--r-- | gdb/guile/scm-math.c | 2 |
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))) { |