diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-07 17:06:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-07 17:06:29 +0000 |
commit | 13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7 (patch) | |
tree | 1f3ec4c6ec974d49ea99c7ef409918510d7cc959 /gdb/gnu-v3-abi.c | |
parent | c4cf3821053bf03be5b25d63528c92d24c31f667 (diff) | |
download | gdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.zip gdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.tar.gz gdb-13c3b5f5bbe5ad8aed357e17db7e7922bfd253d7.tar.bz2 |
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (value_embedded_offset): Delete.
(value_embedded_offset): Declare.
* value.c (value_embedded_offset): Define.
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
* cp-abi.h: Update.
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r-- | gdb/gnu-v3-abi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 12eea1b..f03ecba 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -232,7 +232,7 @@ gnuv3_rtti_type (struct value *value, vtable_symbol = lookup_minimal_symbol_by_pc (VALUE_ADDRESS (vtable) + value_offset (vtable) - + VALUE_EMBEDDED_OFFSET (vtable)); + + value_embedded_offset (vtable)); if (! vtable_symbol) return NULL; @@ -265,7 +265,7 @@ gnuv3_rtti_type (struct value *value, = value_as_long (value_field (vtable, vtable_field_offset_to_top)); if (full_p) - *full_p = (- offset_to_top == VALUE_EMBEDDED_OFFSET (value) + *full_p = (- offset_to_top == value_embedded_offset (value) && (TYPE_LENGTH (value_enclosing_type (value)) >= TYPE_LENGTH (run_time_type))); if (top_p) |