gdb: remove TYPE_NOSIGN

gdb/ChangeLog:

	* gdbtypes.h (TYPE_NOSIGN): Remove, replace all uses with
	type::has_no_signedness.

Change-Id: Iaf8d1cedad195d03a4358e90f6ada77290d03bf2
This commit is contained in:
Simon Marchi 2020-09-14 11:07:58 -04:00
parent 15152a54ae
commit 20ce41238d
6 changed files with 20 additions and 17 deletions

View file

@ -194,7 +194,7 @@ convert_int (compile_c_instance *context, struct type *type)
{
if (context->plugin ().version () >= GCC_C_FE_VERSION_1)
{
if (TYPE_NOSIGN (type))
if (type->has_no_signedness ())
{
gdb_assert (TYPE_LENGTH (type) == 1);
return context->plugin ().char_type ();