Turn allocate_value_contents into a method
authorTom Tromey <tom@tromey.com>
Tue, 31 Jan 2023 20:59:56 +0000 (13:59 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:12 +0000 (15:22 -0700)
commit82ca8f72011ed3d4661fc05e908cfa8f01c8f6f2
tree2fe3ccb1934b66a200b9aa219a33bf3c8cdaf436
parent78259c365fb3c8e4fba9c19020fb8bdd8546c9f9
Turn allocate_value_contents into a method

This turns the static function allocate_value_contents into a method
on value.  It is temporarily public, until some users are converted.
set_limited_array_length is converted as well.

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