From: Tom Tromey Date: Tue, 29 Jan 2013 18:54:24 +0000 (+0000) Subject: * value.c (deprecated_set_value_modifiable): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a543d2a92e50ea5689748f74eb23efc02e82b008;p=binutils-gdb.git * value.c (deprecated_set_value_modifiable): Remove. * value.h (deprecated_set_value_modifiable): Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0180617ec35..f7faa687832 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-01-29 Tom Tromey + + * value.c (deprecated_set_value_modifiable): Remove. + * value.h (deprecated_set_value_modifiable): Remove. + 2013-01-28 Doug Evans * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address diff --git a/gdb/value.c b/gdb/value.c index ec4b09038e1..dbf1c376bed 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1198,11 +1198,6 @@ deprecated_value_modifiable (struct value *value) { return value->modifiable; } -void -deprecated_set_value_modifiable (struct value *value, int modifiable) -{ - value->modifiable = 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 diff --git a/gdb/value.h b/gdb/value.h index 97ceeab5c7d..b9013fdf1e8 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -90,8 +90,6 @@ extern void set_value_offset (struct value *, int offset); not_lval and be done with it? */ extern int deprecated_value_modifiable (struct value *value); -extern void deprecated_set_value_modifiable (struct value *value, - int modifiable); /* If a value represents a C++ object, then the `type' field gives the object's compile-time type. If the object actually belongs to some