* value.c (deprecated_set_value_modifiable): Remove.
authorTom Tromey <tromey@redhat.com>
Tue, 29 Jan 2013 18:54:24 +0000 (18:54 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 29 Jan 2013 18:54:24 +0000 (18:54 +0000)
* value.h (deprecated_set_value_modifiable): Remove.

gdb/ChangeLog
gdb/value.c
gdb/value.h

index 0180617..f7faa68 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-29  Tom Tromey  <tromey@redhat.com>
+
+       * value.c (deprecated_set_value_modifiable): Remove.
+       * value.h (deprecated_set_value_modifiable): Remove.
+
 2013-01-28  Doug Evans  <dje@google.com>
 
        * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
index ec4b090..dbf1c37 100644 (file)
@@ -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;
-}
 \f
 /* Return a mark in the value chain.  All values allocated after the
    mark is obtained (except for those released) are subject to being freed
index 97ceeab..b9013fd 100644 (file)
@@ -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