diff options
author | Pedro Alves <pedro@codesourcery.com> | 2009-01-22 22:50:37 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2009-01-22 22:50:37 +0000 |
commit | ecf101f78860519418555b966e4ed5061286a2a9 (patch) | |
tree | 069d369c7fb3f2ae456c61eefbafaf5da31fe9ed /gdb/gnu-v3-abi.c | |
parent | 1a6c57ddde9b9fb62dbcf7230d4f1308d3674df1 (diff) | |
download | gdb-ecf101f78860519418555b966e4ed5061286a2a9.tar.gz |
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
vbasetype.
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r-- | gdb/gnu-v3-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 8f2a53be193..ea0a7a4eb7e 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -460,7 +460,7 @@ gnuv3_baseclass_offset (struct type *type, int index, const bfd_byte *valaddr, start of whichever baseclass it resides in, as a sanity measure - iff we have debugging information for that baseclass. */ - vbasetype = TYPE_VPTR_BASETYPE (type); + vbasetype = check_typedef (TYPE_VPTR_BASETYPE (type)); vbasetype_vptr_fieldno = get_vptr_fieldno (vbasetype, NULL); if (vbasetype_vptr_fieldno >= 0 |