GDB (xrefs)
Loading...
Searching...
No Matches
gdb
disasm-flags.h
Go to the documentation of this file.
1
/* Disassemble flags for GDB.
2
3
Copyright (C) 2002-2023 Free Software Foundation, Inc.
4
5
This file is part of GDB.
6
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.
11
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.
16
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/>. */
19
20
#ifndef DISASM_FLAGS_H
21
#define DISASM_FLAGS_H
22
23
#include "gdbsupport/enum-flags.h"
24
25
/* Flags used to control how GDB's disassembler behaves. */
26
27
enum
gdb_disassembly_flag
:
unsigned
28
{
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),
37
};
38
DEF_ENUM_FLAGS_TYPE
(
enum
gdb_disassembly_flag
, gdb_disassembly_flags);
39
40
#endif
/* DISASM_FLAGS_H */
41
gdb_disassembly_flag
gdb_disassembly_flag
Definition
disasm-flags.h:28
DISASSEMBLY_RAW_INSN
@ DISASSEMBLY_RAW_INSN
Definition
disasm-flags.h:30
DISASSEMBLY_RAW_BYTES
@ DISASSEMBLY_RAW_BYTES
Definition
disasm-flags.h:36
DISASSEMBLY_SOURCE
@ DISASSEMBLY_SOURCE
Definition
disasm-flags.h:34
DISASSEMBLY_OMIT_FNAME
@ DISASSEMBLY_OMIT_FNAME
Definition
disasm-flags.h:31
DISASSEMBLY_SOURCE_DEPRECATED
@ DISASSEMBLY_SOURCE_DEPRECATED
Definition
disasm-flags.h:29
DISASSEMBLY_FILENAME
@ DISASSEMBLY_FILENAME
Definition
disasm-flags.h:32
DISASSEMBLY_OMIT_PC
@ DISASSEMBLY_OMIT_PC
Definition
disasm-flags.h:33
DISASSEMBLY_SPECULATIVE
@ DISASSEMBLY_SPECULATIVE
Definition
disasm-flags.h:35
DEF_ENUM_FLAGS_TYPE
DEF_ENUM_FLAGS_TYPE(enum gdb_disassembly_flag, gdb_disassembly_flags)
Generated by
1.10.0