mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
* gdbtypes.c (replace_type): Fix typo that caused us to not update
length of the types referenced by the new type CV ring.
This commit is contained in:
@ -636,7 +636,7 @@ replace_type (struct type *ntype, struct type *type)
|
||||
call replace_type(). */
|
||||
gdb_assert (TYPE_ADDRESS_CLASS_ALL (chain) == 0);
|
||||
|
||||
TYPE_LENGTH (ntype) = TYPE_LENGTH (type);
|
||||
TYPE_LENGTH (chain) = TYPE_LENGTH (type);
|
||||
chain = TYPE_CHAIN (chain);
|
||||
} while (ntype != chain);
|
||||
|
||||
|
Reference in New Issue
Block a user