mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Various fixes to improve C++ debugging. See ChangeLog.
This commit is contained in:
@@ -611,6 +611,10 @@ lookup_struct_elt_type (type, name, noerr)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (TYPE_CODE (type) == TYPE_CODE_PTR ||
|
||||
TYPE_CODE (type) == TYPE_CODE_REF)
|
||||
type = TYPE_TARGET_TYPE (type);
|
||||
|
||||
if (TYPE_CODE (type) != TYPE_CODE_STRUCT &&
|
||||
TYPE_CODE (type) != TYPE_CODE_UNION)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user