aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-29 18:54:24 +0000
committerTom Tromey <tromey@redhat.com>2013-01-29 18:54:24 +0000
commita543d2a92e50ea5689748f74eb23efc02e82b008 (patch)
tree484d4354775bfd3ad65097fd5d80abbc1e831404 /gdb
parentgas/ (diff)
downloadbinutils-gdb-a543d2a92e50ea5689748f74eb23efc02e82b008.tar.gz
binutils-gdb-a543d2a92e50ea5689748f74eb23efc02e82b008.tar.bz2
binutils-gdb-a543d2a92e50ea5689748f74eb23efc02e82b008.zip
* value.c (deprecated_set_value_modifiable): Remove.
* value.h (deprecated_set_value_modifiable): Remove.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/value.c5
-rw-r--r--gdb/value.h2
3 files changed, 5 insertions, 7 deletions
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 <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
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