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:
Simon Marchi
2020-09-14 11:07:57 -04:00
parent 653223d356
commit c6d940a956
30 changed files with 88 additions and 86 deletions

View File

@ -527,7 +527,7 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
if (is_integral_type (type)
|| type->code () == TYPE_CODE_PTR)
{
if (TYPE_UNSIGNED (type))
if (type->is_unsigned ())
{
ULONGEST max;
@ -573,7 +573,7 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
static int
vlscm_integer_fits_p (SCM obj, struct type *type)
{
if (TYPE_UNSIGNED (type))
if (type->is_unsigned ())
{
ULONGEST max;