diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-08 04:57:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-08 04:57:03 +0000 |
commit | 9bbda5038131704610b27bee2c70e81c68374f61 (patch) | |
tree | 29a7f21f9bb6823656559ada652a519530f57498 /gdb/value.c | |
parent | 0a40490e6aa43a28c471f4db8a18a4820cbf58c3 (diff) | |
download | gdb-9bbda5038131704610b27bee2c70e81c68374f61.zip gdb-9bbda5038131704610b27bee2c70e81c68374f61.tar.gz gdb-9bbda5038131704610b27bee2c70e81c68374f61.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.c (set_value_bitpos, set_value_bitsize): Define.
* value.h (set_value_bitpos, set_value_bitsize): Declare.
* ada-lang.c, valarith.c: Update.
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c index b584fb9..de9fd15 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -156,12 +156,22 @@ value_bitpos (struct value *value) { return value->bitpos; } +void +set_value_bitpos (struct value *value, int bit) +{ + value->bitpos = bit; +} int value_bitsize (struct value *value) { return value->bitsize; } +void +set_value_bitsize (struct value *value, int bit) +{ + value->bitsize = bit; +} bfd_byte * value_contents_raw (struct value *value) |