Introduce set_lval method on value
authorTom Tromey <tom@tromey.com>
Thu, 9 Feb 2023 13:35:33 +0000 (06:35 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:20 +0000 (15:22 -0700)
commit6f9c9d71c2420e9bc6825cef59a922f5fb863e1a
treed8a12b7cdd7bf1510afbfc13ea7f79449f99fffb
parent43b5fba22365c6ddd0d60324833f279364b577e7
Introduce set_lval method on value

This introduces the set_lval method on value, one step toward removing
deprecated_lval_hack.  Ultimately I think the goal should be for some
of these set_* methods to be replaced with constructors; but I haven't
done this, as the series is already too long.  Other 'deprecated'
methods can probably be handled the same way.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
13 files changed:
gdb/aarch64-tdep.c
gdb/ada-lang.c
gdb/amd64-tdep.c
gdb/elfread.c
gdb/eval.c
gdb/findvar.c
gdb/i386-tdep.c
gdb/regcache.c
gdb/rust-lang.c
gdb/valarith.c
gdb/valops.c
gdb/value.c
gdb/value.h