]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/value.c
Change some code to use value methods
authorTom Tromey <tom@tromey.com>
Wed, 1 Feb 2023 03:54:26 +0000 (20:54 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:17 +0000 (15:22 -0700)
commitfcf86fe5977ec47a0a6e32be9c1434ac808e2c4e
treed3cd86071cef1491e624a8d5b7fdf23cbac6d878
parent8181b7b65787041f16d08a5619789cece42b2553
Change some code to use value methods

A few functions in value.c were accessing the internal fields of
struct value.  However, in these cases it seemed simpler to change
them to use the public API rather than convert them to be methods.

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