diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-27 21:48:27 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-27 21:48:27 +0000 |
commit | 8cc2524a40de11a2afece2ab604c0eca27a0ef1d (patch) | |
tree | 3f641ee004ccd9595b4221c036fdd7538e5c194a /gdb/value.h | |
parent | befd69ef73515771010d280dea01c0e7a04d3e3d (diff) | |
download | gdb-8cc2524a40de11a2afece2ab604c0eca27a0ef1d.zip gdb-8cc2524a40de11a2afece2ab604c0eca27a0ef1d.tar.gz gdb-8cc2524a40de11a2afece2ab604c0eca27a0ef1d.tar.bz2 |
2005-01-27 Andrew Cagney <cagney@gnu.org>
* value.h (struct value): Change type of contents to bfd_byte.
(VALUE_CONTENTS_RAW): Simplify.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index 6f0d357..be348a0 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -162,7 +162,7 @@ struct value declared here. */ union { - long contents[1]; + bfd_byte contents[1]; DOUBLEST force_doublest_align; LONGEST force_longest_align; CORE_ADDR force_core_addr_align; @@ -195,7 +195,7 @@ extern int value_offset (struct value *); something embedded in a larger run-time object. */ #define VALUE_CONTENTS_RAW(val) \ - ((char *) (val)->aligner.contents + (val)->embedded_offset) + ((val)->aligner.contents + (val)->embedded_offset) #define VALUE_CONTENTS(val) \ ((void)(VALUE_LAZY(val) && value_fetch_lazy(val)), VALUE_CONTENTS_RAW(val)) |