mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +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:
@ -1091,9 +1091,9 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type,
|
||||
&& SYMBOL_TYPE (sym)->code () == TYPE_CODE_INT)
|
||||
{
|
||||
SYMBOL_TYPE (sym) =
|
||||
TYPE_UNSIGNED (SYMBOL_TYPE (sym))
|
||||
? objfile_type (objfile)->builtin_unsigned_int
|
||||
: objfile_type (objfile)->builtin_int;
|
||||
(SYMBOL_TYPE (sym)->is_unsigned ()
|
||||
? objfile_type (objfile)->builtin_unsigned_int
|
||||
: objfile_type (objfile)->builtin_int);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user