diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-07 20:17:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-07 20:17:28 +0000 |
commit | b44d461b0ebcb9f30595e5c3e4c748775349ecf1 (patch) | |
tree | 5516e9a3e7396b8030af773272ece7280c8f11b1 /gdb/value.h | |
parent | 4ee4d24937d552e97baee32e10575e716707226c (diff) | |
download | gdb-b44d461b0ebcb9f30595e5c3e4c748775349ecf1.zip gdb-b44d461b0ebcb9f30595e5c3e4c748775349ecf1.tar.gz gdb-b44d461b0ebcb9f30595e5c3e4c748775349ecf1.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (VALUE_POINTED_TO_OFFSET): Delete.
(set_value_pointed_to_offset, value_pointed_to_offset): Declare.
* value.c (set_value_pointed_to_offset): Define
(value_pointed_to_offset): Define.
* valops.c: Update.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h index 914bc64..d894252 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -217,7 +217,8 @@ extern int value_optimized_out (struct value *value); extern void set_value_optimized_out (struct value *value, int val); extern int value_embedded_offset (struct value *value); extern void set_value_embedded_offset (struct value *value, int val); -#define VALUE_POINTED_TO_OFFSET(val) ((val)->pointed_to_offset) +extern int value_pointed_to_offset (struct value *value); +extern void set_value_pointed_to_offset (struct value *value, int val); /* Convert a REF to the object referenced. */ |