aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-06-23 12:19:52 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-10-02 11:58:28 +0100
commit2bfed4e87257a8d6433edb145326da31816d19c1 (patch)
treec72f4434844b46e2aacd61362b19eb83804c62aa /gdb
parentd4ce49b7ac077a9882d6a5e689e260300045ca88 (diff)
downloadgdb-2bfed4e87257a8d6433edb145326da31816d19c1.zip
gdb-2bfed4e87257a8d6433edb145326da31816d19c1.tar.gz
gdb-2bfed4e87257a8d6433edb145326da31816d19c1.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/disasm-flags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm-flags.h b/gdb/disasm-flags.h
index 5a7371b..9420e7c 100644
--- a/gdb/disasm-flags.h
+++ b/gdb/disasm-flags.h
@@ -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),