]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add value::set_modifiable
authorTom Tromey <tom@tromey.com>
Wed, 1 Feb 2023 15:25:21 +0000 (08:25 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:17 +0000 (15:22 -0700)
commite6cf1e1b42c1e44610cc8b2997f883275f0b244d
tree18abbb3b52e24a6abed2d9d6d3214956dfac449b
parent6c49729e593cd1577080b082be81fe113f8d7943
Add value::set_modifiable

This introduces a value::set_modifiable and changes a couple of spots
to use it.

I'm not completely sure the comments by deprecated_modifiable are
correct any more.  Perhaps they should be removed and the method
renamed.  Like so many before me, though, I've deferred investigation
of the issue.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/value.c
gdb/value.h