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/valprint.c | |
parent | 653223d3561b5976d12ade101113af9d08348b8c (diff) | |
download | gdb-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.zip gdb-c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf.tar.gz 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/valprint.c')
-rw-r--r-- | gdb/valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index d95b170..676bdd6 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -769,7 +769,7 @@ generic_value_print_char (struct value *value, struct ui_file *stream, const gdb_byte *valaddr = value_contents_for_printing (value); LONGEST val = unpack_long (type, valaddr); - if (TYPE_UNSIGNED (type)) + if (type->is_unsigned ()) fprintf_filtered (stream, "%u", (unsigned int) val); else fprintf_filtered (stream, "%d", (int) val); |