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/ada-valprint.c | |
parent | e18312bb596fcc9b4df1d018038690df28a68b46 (diff) | |
download | gdb-cda0334434412d888443e9a98386255f2e0c2eab.zip gdb-cda0334434412d888443e9a98386255f2e0c2eab.tar.gz 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/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index a56c8a1..16e865c 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -1028,7 +1028,7 @@ ada_value_print_inner (struct value *val, struct ui_file *stream, int recurse, type = ada_check_typedef (resolve_dynamic_type (type, view, address)); if (type != saved_type) { - val = value_copy (val); + val = val->copy (); val->deprecated_set_type (type); } |