mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
gdb: remove TYPE_TARGET_STUB
gdb/ChangeLog: * gdbtypes.h (TYPE_TARGET_STUB): Remove, replace all uses with type::target_is_stub. Change-Id: I3e7dadcb485d991af68a1e93693e3895b0e755d5
This commit is contained in:
@ -2864,11 +2864,11 @@ check_typedef (struct type *type)
|
||||
}
|
||||
}
|
||||
|
||||
if (TYPE_TARGET_STUB (type))
|
||||
if (type->target_is_stub ())
|
||||
{
|
||||
struct type *target_type = check_typedef (TYPE_TARGET_TYPE (type));
|
||||
|
||||
if (target_type->is_stub () || TYPE_TARGET_STUB (target_type))
|
||||
if (target_type->is_stub () || target_type->target_is_stub ())
|
||||
{
|
||||
/* Nothing we can do. */
|
||||
}
|
||||
@ -5080,7 +5080,7 @@ recursive_dump_type (struct type *type, int spaces)
|
||||
{
|
||||
puts_filtered (" TYPE_STUB");
|
||||
}
|
||||
if (TYPE_TARGET_STUB (type))
|
||||
if (type->target_is_stub ())
|
||||
{
|
||||
puts_filtered (" TYPE_TARGET_STUB");
|
||||
}
|
||||
|
Reference in New Issue
Block a user