Modified Files:
gdbtypes.c ChangeLog * gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer to struct/union case. (fix pr3857)
This commit is contained in:
parent
9a13e99e20
commit
624456be75
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Nov 12 11:18:02 1993 Kung Hsu (kung@cirdan.cygnus.com)
|
||||||
|
|
||||||
|
* gdbtypes.c (lookup_struct_elt_type): Handle type ref or pointer
|
||||||
|
to struct/union case.
|
||||||
|
|
||||||
Fri Nov 12 10:39:31 1993 Stu Grossman (grossman at cygnus.com)
|
Fri Nov 12 10:39:31 1993 Stu Grossman (grossman at cygnus.com)
|
||||||
|
|
||||||
* coff-solib.c (coff_solib_add): Cast result of alloca().
|
* coff-solib.c (coff_solib_add): Cast result of alloca().
|
||||||
|
|
|
@ -685,7 +685,7 @@ lookup_struct_elt_type (type, name, noerr)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (TYPE_CODE (type) == TYPE_CODE_PTR ||
|
while (TYPE_CODE (type) == TYPE_CODE_PTR ||
|
||||||
TYPE_CODE (type) == TYPE_CODE_REF)
|
TYPE_CODE (type) == TYPE_CODE_REF)
|
||||||
type = TYPE_TARGET_TYPE (type);
|
type = TYPE_TARGET_TYPE (type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue