diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 10:17:10 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 4b53ca88831137e94a6882f224d755a2d32ab8ef (patch) | |
tree | d4a4f240db65c78ba1729fa68c01abe082b01114 /gdb/value.c | |
parent | 76675c4d0bc454ed1ae369f98ad848754d0e81a0 (diff) | |
download | gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.zip gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.tar.gz gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.tar.bz2 |
Turn deprecated_value_modifiable into method
This changes deprecated_value_modifiable to be a method of value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/value.c b/gdb/value.c index 9b9b022..783ef7d 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1515,11 +1515,6 @@ deprecated_value_regnum_hack (struct value *value) return &value->m_location.reg.regnum; } -int -deprecated_value_modifiable (const struct value *value) -{ - return value->m_modifiable; -} /* Return a mark in the value chain. All values allocated after the mark is obtained (except for those released) are subject to being freed |