diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 09:56:33 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | fac7bdaaab474e2741b88d24781facd9521d0e9c (patch) | |
tree | 0916d296348e4b31d3f716ce82023b9bd0ca6955 /gdb/ada-lang.c | |
parent | 5011c493fb54235b47fbd76e9734072995d93da8 (diff) | |
download | gdb-fac7bdaaab474e2741b88d24781facd9521d0e9c.zip gdb-fac7bdaaab474e2741b88d24781facd9521d0e9c.tar.gz gdb-fac7bdaaab474e2741b88d24781facd9521d0e9c.tar.bz2 |
Turn value_parent into method
This changes value_parent 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/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index d1ad9a2..b4fcce2 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -2842,7 +2842,7 @@ ada_value_primitive_packed_val (struct value *obj, const gdb_byte *valaddr, /* Also set the parent value. This is needed when trying to assign a new value (in inferior memory). */ - set_value_parent (v, obj); + v->set_parent (obj); } else v->set_bitsize (bit_size); |