diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 12:22:01 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 8e5b19ad992b56cb3817dcbd4c656e2ffc3ee889 (patch) | |
tree | 5e18d990c15223fc25360d2d1f02e1f6cdea0ff9 /gdb/value.c | |
parent | 970441058c4fc01a3a78773a004196e3037825ed (diff) | |
download | binutils-8e5b19ad992b56cb3817dcbd4c656e2ffc3ee889.zip binutils-8e5b19ad992b56cb3817dcbd4c656e2ffc3ee889.tar.gz binutils-8e5b19ad992b56cb3817dcbd4c656e2ffc3ee889.tar.bz2 |
Turn value_initialized and set_value_initialized functions into methods
This changes the value_initialized and set_value_initialized functions
to be methods of value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/value.c b/gdb/value.c index c56c04d..399e2d1 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -3799,22 +3799,6 @@ using_struct_return (struct gdbarch *gdbarch, != RETURN_VALUE_REGISTER_CONVENTION); } -/* Set the initialized field in a value struct. */ - -void -set_value_initialized (struct value *val, int status) -{ - val->m_initialized = status; -} - -/* Return the initialized field in a value struct. */ - -int -value_initialized (const struct value *val) -{ - return val->m_initialized; -} - /* Helper for value_fetch_lazy when the value is a bitfield. */ static void |