aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
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.h
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.h')
-rw-r--r--gdb/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index cd1403b..b8d1490 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -172,7 +172,6 @@ struct value
them. */
};
-
/* Values are stored in a chain, so that they can be deleted easily
over calls to the inferior. Values assigned to internal variables
or put into the value history are taken off this list. */
@@ -186,7 +185,9 @@ extern void deprecated_set_value_type (struct value *value,
struct type *type);
extern int value_bitsize (struct value *);
extern int value_bitpos (struct value *);
+
extern int value_offset (struct value *);
+extern void set_value_offset (struct value *, int offset);
/* The comment from "struct value" reads: ``Is it modifiable? Only
relevant if lval != not_lval.''. Shouldn't the value instead be