diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:07:57 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-09-14 11:07:57 -0400 |
commit | c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf (patch) | |
tree | c5d25c2c2cd369f74ed393926638302e9da95c02 /gdb/f-exp.y | |
parent | 653223d3561b5976d12ade101113af9d08348b8c (diff) | |
download | binutils-gdb-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.tar.gz |
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/f-exp.y')
-rw-r--r-- | gdb/f-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y index 0fa18dd1860..0ccb3c68d3e 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -827,7 +827,7 @@ push_kind_type (LONGEST val, struct type *type) { int ival; - if (TYPE_UNSIGNED (type)) + if (type->is_unsigned ()) { ULONGEST uval = static_cast <ULONGEST> (val); if (uval > INT_MAX) |