mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Approved by Elena Zannoni:
2001-12-09 Fred Fish <fnf@redhat.com> * mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type() rather than setting it after the type is created.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-09 Fred Fish <fnf@redhat.com>
|
||||||
|
|
||||||
|
* mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type()
|
||||||
|
rather than setting it after the type is created.
|
||||||
|
|
||||||
2001-12-09 Elena Zannoni <ezannoni@redhat.com>
|
2001-12-09 Elena Zannoni <ezannoni@redhat.com>
|
||||||
|
|
||||||
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
|
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
|
||||||
|
@ -4234,8 +4234,7 @@ cross_ref (int fd, union aux_ext *ax, struct type **tpp, enum type_code type_cod
|
|||||||
if (rf == -1)
|
if (rf == -1)
|
||||||
{
|
{
|
||||||
*pname = "<undefined>";
|
*pname = "<undefined>";
|
||||||
*tpp = init_type (type_code, 0, 0, (char *) NULL, current_objfile);
|
*tpp = init_type (type_code, 0, TYPE_FLAG_STUB, (char *) NULL, current_objfile);
|
||||||
TYPE_FLAGS (*tpp) |= TYPE_FLAG_STUB;
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user