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/python | |
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/python')
-rw-r--r-- | gdb/python/py-value.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 2ebbe0a..2d9e77a 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -1694,7 +1694,7 @@ valpy_int (PyObject *self) GDB_PY_HANDLE_EXCEPTION (except); } - if (TYPE_UNSIGNED (type)) + if (type->is_unsigned ()) return gdb_py_object_from_ulongest (l).release (); else return gdb_py_object_from_longest (l).release (); @@ -1730,7 +1730,7 @@ valpy_long (PyObject *self) GDB_PY_HANDLE_EXCEPTION (except); } - if (TYPE_UNSIGNED (type)) + if (type->is_unsigned ()) return gdb_py_long_from_ulongest (l); else return gdb_py_long_from_longest (l); |