aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-11-10 17:47:23 +0000
committerDoug Evans <dje@google.com>2010-11-10 17:47:23 +0000
commit4dfea5604987eeb861eccccafbfa29e38002ea25 (patch)
treeb60c9fc26ba7b10793dcd48a17c6de46024cd360 /gdb/value.h
parent51020d214bfe2cd8b912db0f3f2fafb40df28bc2 (diff)
downloadgdb-4dfea5604987eeb861eccccafbfa29e38002ea25.zip
gdb-4dfea5604987eeb861eccccafbfa29e38002ea25.tar.gz
gdb-4dfea5604987eeb861eccccafbfa29e38002ea25.tar.bz2
* value.c (set_value_enclosing_type): Renamed from
value_change_enclosing_type. All callers updated. * value.h (set_value_enclosing_type): Update. * valops.c (value_full_object): Always return a copy if we need to make changes to the input value.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 543290a..ef2cb4f 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -136,8 +136,9 @@ extern void deprecated_set_value_modifiable (struct value *value,
normally. */
extern struct type *value_enclosing_type (struct value *);
-extern struct value *value_change_enclosing_type (struct value *val,
- struct type *new_type);
+extern void set_value_enclosing_type (struct value *val,
+ struct type *new_type);
+
extern int value_pointed_to_offset (struct value *value);
extern void set_value_pointed_to_offset (struct value *value, int val);
extern int value_embedded_offset (struct value *value);