gdb: remove TYPE_UNSIGNED
gdb/ChangeLog: * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with type::is_unsigned. Change-Id: I84f76f5cd44ff7294e421d317376a9e476bc8666
This commit is contained in:
parent
653223d356
commit
c6d940a956
30 changed files with 88 additions and 86 deletions
|
@ -381,7 +381,7 @@ m2_get_discrete_bounds (struct type *type, LONGEST *lowp, LONGEST *highp)
|
|||
case TYPE_CODE_CHAR:
|
||||
if (TYPE_LENGTH (type) < sizeof (LONGEST))
|
||||
{
|
||||
if (!TYPE_UNSIGNED (type))
|
||||
if (!type->is_unsigned ())
|
||||
{
|
||||
*lowp = -(1 << (TYPE_LENGTH (type) * TARGET_CHAR_BIT - 1));
|
||||
*highp = -*lowp - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue