Automatic date update in version.in
[binutils-gdb.git] / gdb / disasm-flags.h
blobe2e8a7a82e551fb4d19c1b07a6de9776c708cb1f
1 /* Disassemble flags for GDB.
3 Copyright (C) 2002-2023 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 #ifndef DISASM_FLAGS_H
21 #define DISASM_FLAGS_H
23 #include "gdbsupport/enum-flags.h"
25 /* Flags used to control how GDB's disassembler behaves. */
27 enum gdb_disassembly_flag : unsigned
29 DISASSEMBLY_SOURCE_DEPRECATED = (0x1 << 0),
30 DISASSEMBLY_RAW_INSN = (0x1 << 1),
31 DISASSEMBLY_OMIT_FNAME = (0x1 << 2),
32 DISASSEMBLY_FILENAME = (0x1 << 3),
33 DISASSEMBLY_OMIT_PC = (0x1 << 4),
34 DISASSEMBLY_SOURCE = (0x1 << 5),
35 DISASSEMBLY_SPECULATIVE = (0x1 << 6),
36 DISASSEMBLY_RAW_BYTES = (0x1 << 7),
38 DEF_ENUM_FLAGS_TYPE (enum gdb_disassembly_flag, gdb_disassembly_flags);
40 #endif /* DISASM_FLAGS_H */