From c6d940a9569deb4a89a5628caa78b1ccfcfd2bdf Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 14 Sep 2020 11:07:57 -0400 Subject: gdb: remove TYPE_UNSIGNED gdb/ChangeLog: * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with type::is_unsigned. Change-Id: I84f76f5cd44ff7294e421d317376a9e476bc8666 --- gdb/python/py-value.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/python/py-value.c') 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); -- cgit v1.1