aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/scm-math.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:57 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-14 11:07:57 -0400
commitc6d940a9569deb4a89a5628caa78b1ccfcfd2bdf (patch)
treec5d25c2c2cd369f74ed393926638302e9da95c02 /gdb/guile/scm-math.c
parent653223d3561b5976d12ade101113af9d08348b8c (diff)
downloadbinutils-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.zip
binutils-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.tar.gz
binutils-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.tar.bz2
gdb: remove TYPE_UNSIGNED
gdb/ChangeLog: * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with type::is_unsigned. Change-Id: I84f76f5cd44ff7294e421d317376a9e476bc8666
Diffstat (limited to 'gdb/guile/scm-math.c')
-rw-r--r--gdb/guile/scm-math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index 419f509..c297c45 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -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;