mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-25 11:16:56 +08:00
gdb: remove TYPE_UNSIGNED
gdb/ChangeLog: * gdbtypes.h (TYPE_UNSIGNED): Remove, replace all uses with type::is_unsigned. Change-Id: I84f76f5cd44ff7294e421d317376a9e476bc8666
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user