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

@ -1015,7 +1015,7 @@ compile_cplus_convert_func (compile_cplus_instance *instance,
static gcc_type
compile_cplus_convert_int (compile_cplus_instance *instance, struct type *type)
{
if (TYPE_NOSIGN (type))
if (type->has_no_signedness ())
{
gdb_assert (TYPE_LENGTH (type) == 1);
return instance->plugin ().get_char_type ();