aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-08 02:29:18 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-08 02:29:18 +0000
commitf5cf64a7277fc62fa3243371962c81fe198db64d (patch)
treef0faa0e7b611ab4e86dc85a66cf24917e2effd2c /gdb/value.c
parent17cf0ecde3a59551f7792b456e7533687f3ec8d1 (diff)
downloadgdb-f5cf64a7277fc62fa3243371962c81fe198db64d.zip
gdb-f5cf64a7277fc62fa3243371962c81fe198db64d.tar.gz
gdb-f5cf64a7277fc62fa3243371962c81fe198db64d.tar.bz2
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (set_value_offset): Declare. * value.c (set_value_offset): Declare. * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update. * findvar.c: Update.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c
index c771359..b584fb9 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -145,6 +145,11 @@ value_offset (struct value *value)
{
return value->offset;
}
+void
+set_value_offset (struct value *value, int offset)
+{
+ value->offset = offset;
+}
int
value_bitpos (struct value *value)