From 4b53ca88831137e94a6882f224d755a2d32ab8ef Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 31 Jan 2023 10:17:10 -0700 Subject: Turn deprecated_value_modifiable into method This changes deprecated_value_modifiable to be a method of value. Approved-By: Simon Marchi --- gdb/value.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/value.c') 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 -- cgit v1.1