aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 08:24:35 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:07 -0700
commit81ae560ca4f0da47729dc37a889c2f2e01c4c84e (patch)
tree9f251c4fb80f169eab6c0ff556903fd1eb301700 /gdb/i386-tdep.c
parentd0c9791728caa0d3b3270a997c7fd97919976c97 (diff)
downloadbinutils-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.zip
binutils-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.tar.gz
binutils-81ae560ca4f0da47729dc37a889c2f2e01c4c84e.tar.bz2
Turn deprecated_set_value_type into a method
This changes deprecated_set_value_type to be a method of value. Much of this patch was written by script. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index b799ac5..090f546 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -3087,7 +3087,7 @@ i386_return_value (struct gdbarch *gdbarch, struct value *function,
= i386_return_value (gdbarch, function, inner_type, regcache,
read_value, writebuf);
if (read_value != nullptr)
- deprecated_set_value_type (*read_value, type);
+ (*read_value)->deprecated_set_type (type);
return result;
}