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:
parent
8f53807e5c
commit
d218396806
3 changed files with 14 additions and 11 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue