gdb: make gdb_disassembly_flag unsigned

In a later commit I want to use operator~ on a gdb_disassembly_flag
flag value.  This is currently not possible as gdb_disassembly_flag
is, by default, signed.

This commit just makes this enum unsigned.

There should be no user visible changes after this commit.
This commit is contained in:
Andrew Burgess 2022-06-23 12:19:52 +01:00
parent d4ce49b7ac
commit 2bfed4e872

View File

@ -24,7 +24,7 @@
/* Flags used to control how GDB's disassembler behaves. */
enum gdb_disassembly_flag
enum gdb_disassembly_flag : unsigned
{
DISASSEMBLY_SOURCE_DEPRECATED = (0x1 << 0),
DISASSEMBLY_RAW_INSN = (0x1 << 1),