]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/valops.c
Turn some xmethod functions into methods
authorTom Tromey <tom@tromey.com>
Wed, 1 Feb 2023 03:59:39 +0000 (20:59 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 13 Feb 2023 22:22:17 +0000 (15:22 -0700)
commit6bd5c75435099f09bf1b2027e118f66a6fd94218
tree077e8f26538eb2bb12dc4d7bdb551ee1ecfcbfb2
parentfcf86fe5977ec47a0a6e32be9c1434ac808e2c4e
Turn some xmethod functions into methods

This turns value_from_xmethod, result_type_of_xmethod, and
call_xmethod to be methods of value.  value_from_xmethod is a static
"constructor" now.

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