diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-02 20:31:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-02 20:31:35 +0000 |
commit | 2f8d5ebbe33b0d5951f1d4e54835081c7b0d1046 (patch) | |
tree | 67f1b93a1147eea04623228d69338d559ffaaa6f /gdb/gnu-v3-abi.c | |
parent | a5915fbd1ffa0a964d822da56f10565be28b7941 (diff) | |
download | gdb-2f8d5ebbe33b0d5951f1d4e54835081c7b0d1046.tar.gz |
2005-02-02 Andrew Cagney <cagney@gnu.org>
* value.c (value_enclosing_type): New function.
* value.h (VALUE_ENCLOSING_TYPE): Delete.
(value_enclosing_type): Declare.
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: 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 3fead2afb4b..12eea1b6189 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -1,7 +1,7 @@ /* Abstraction of GNU v3 abi. Contributed by Jim Blandy <jimb@redhat.com> - Copyright 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -266,7 +266,7 @@ gnuv3_rtti_type (struct value *value, if (full_p) *full_p = (- offset_to_top == VALUE_EMBEDDED_OFFSET (value) - && (TYPE_LENGTH (VALUE_ENCLOSING_TYPE (value)) + && (TYPE_LENGTH (value_enclosing_type (value)) >= TYPE_LENGTH (run_time_type))); if (top_p) *top_p = - offset_to_top; |