aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 10:17:10 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:07 -0700
commit4b53ca88831137e94a6882f224d755a2d32ab8ef (patch)
treed4a4f240db65c78ba1729fa68c01abe082b01114 /gdb/value.c
parent76675c4d0bc454ed1ae369f98ad848754d0e81a0 (diff)
downloadgdb-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.c5
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