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/eval.c | |
parent | 653223d3561b5976d12ade101113af9d08348b8c (diff) | |
download | fsf-binutils-gdb-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.zip fsf-binutils-gdb-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.tar.gz fsf-binutils-gdb-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/eval.c')
-rw-r--r-- | gdb/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -500,8 +500,8 @@ binop_promote (const struct language_defn *language, struct gdbarch *gdbarch, const struct builtin_type *builtin = builtin_type (gdbarch); unsigned int promoted_len1 = TYPE_LENGTH (type1); unsigned int promoted_len2 = TYPE_LENGTH (type2); - int is_unsigned1 = TYPE_UNSIGNED (type1); - int is_unsigned2 = TYPE_UNSIGNED (type2); + int is_unsigned1 = type1->is_unsigned (); + int is_unsigned2 = type2->is_unsigned (); unsigned int result_len; int unsigned_operation; |