1 /* Definition of symfile add flags.
3 Copyright (C) 1990-2017 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 #if !defined (SYMFILE_ADD_FLAGS_H)
21 #define SYMFILE_ADD_FLAGS_H
23 #include "common/enum-flags.h"
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. */
31 /* Be chatty about what you are doing. */
32 SYMFILE_VERBOSE = 1 << 1,
34 /* This is the main symbol file (as opposed to symbol file for
35 dynamically loaded code). */
36 SYMFILE_MAINLINE = 1 << 2,
38 /* Do not call breakpoint_re_set when adding this symbol file. */
39 SYMFILE_DEFER_BP_RESET = 1 << 3,
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
46 DEF_ENUM_FLAGS_TYPE (enum symfile_add_flag, symfile_add_flags);
48 #endif /* !defined(SYMFILE_ADD_FLAGS_H) */