aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:58 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:58 -0400
commit20ce41238d912c3ced2870501f0c45cf7a03de92 (patch)
tree630ff96627efa10d3b1fb4e72f9091b9c80ae181 /gdb/compile
parent15152a54aebbd4eba6151b20333ba48ccfd703c5 (diff)
downloadgdb-20ce41238d912c3ced2870501f0c45cf7a03de92.zip
gdb-20ce41238d912c3ced2870501f0c45cf7a03de92.tar.gz
gdb-20ce41238d912c3ced2870501f0c45cf7a03de92.tar.bz2
gdb: remove TYPE_NOSIGN
gdb/ChangeLog: * gdbtypes.h (TYPE_NOSIGN): Remove, replace all uses with type::has_no_signedness. Change-Id: Iaf8d1cedad195d03a4358e90f6ada77290d03bf2
Diffstat (limited to 'gdb/compile')
-rw-r--r--gdb/compile/compile-c-types.c2
-rw-r--r--gdb/compile/compile-cplus-types.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/compile/compile-c-types.c b/gdb/compile/compile-c-types.c
index a34550a..3527442 100644
--- a/gdb/compile/compile-c-types.c
+++ b/gdb/compile/compile-c-types.c
@@ -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 ();
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c
index 647cfc5..8431cbc 100644
--- a/gdb/compile/compile-cplus-types.c
+++ b/gdb/compile/compile-cplus-types.c
@@ -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 ();