Commit | Line | Data |
---|---|---|
b15cc25c PA |
1 | /* Definition of symfile add flags. |
2 | ||
61baf725 | 3 | Copyright (C) 1990-2017 Free Software Foundation, Inc. |
b15cc25c PA |
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 | #if !defined (SYMFILE_ADD_FLAGS_H) | |
21 | #define SYMFILE_ADD_FLAGS_H | |
22 | ||
23 | #include "common/enum-flags.h" | |
24 | ||
25 | /* This enum encodes bit-flags passed as ADD_FLAGS parameter to | |
26 | symbol_file_add, etc. Defined in a separate file to break circular | |
27 | header dependencies. */ | |
28 | ||
29 | enum symfile_add_flag | |
30 | { | |
31 | /* Be chatty about what you are doing. */ | |
32 | SYMFILE_VERBOSE = 1 << 1, | |
33 | ||
34 | /* This is the main symbol file (as opposed to symbol file for | |
35 | dynamically loaded code). */ | |
36 | SYMFILE_MAINLINE = 1 << 2, | |
37 | ||
38 | /* Do not call breakpoint_re_set when adding this symbol file. */ | |
39 | SYMFILE_DEFER_BP_RESET = 1 << 3, | |
40 | ||
41 | /* Do not immediately read symbols for this file. By default, | |
42 | symbols are read when the objfile is created. */ | |
43 | SYMFILE_NO_READ = 1 << 4 | |
44 | }; | |
45 | ||
46 | DEF_ENUM_FLAGS_TYPE (enum symfile_add_flag, symfile_add_flags); | |
47 | ||
48 | #endif /* !defined(SYMFILE_ADD_FLAGS_H) */ |