Turn value_incref and value_decref into methods
authorTom Tromey <tom@tromey.com>
Tue, 31 Jan 2023 21:25:29 +0000 (14:25 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:16 +0000 (15:22 -0700)
commitcdf3de175d41acec85d6c3cc8b599f79658edb06
tree7f88b2ac4f2fb3ca547575063bae003ade56abab
parentd3824ae14ac64c10733537969a0bd58a9385cbf2
Turn value_incref and value_decref into methods

This changes value_incref and value_decref to be methods of value.
Much of this patch was written by script.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/expr.c
gdb/dwarf2/loc.c
gdb/guile/scm-value.c
gdb/opencl-lang.c
gdb/python/py-value.c
gdb/value.c
gdb/value.h