GDB (xrefs)

/tmp/gdb-8.1/gdb/psymtab.h
Go to the documentation of this file.
1 /* Public partial symbol table definitions.
2
3 Copyright (C) 2009-2018 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 PSYMTAB_H
21 #define PSYMTAB_H
22
23 #include "symfile.h"
24
25 /* A bcache for partial symbols. */
26
27 struct psymbol_bcache;
28
29 extern struct psymbol_bcache *psymbol_bcache_init (void);
30 extern void psymbol_bcache_free (struct psymbol_bcache *);
31 extern struct bcache *psymbol_bcache_get_bcache (struct psymbol_bcache *);
32
33 extern const struct quick_symbol_functions psym_functions;
34
35 extern const struct quick_symbol_functions dwarf2_gdb_index_functions;
36 extern const struct quick_symbol_functions dwarf2_debug_names_functions;
37
38 /* Ensure that the partial symbols for OBJFILE have been loaded. If
39 VERBOSE is non-zero, then this will print a message when symbols
40 are loaded. This function always returns its argument, as a
41 convenience. */
42
43 extern struct objfile *require_partial_symbols (struct objfile *objfile,
44 int verbose);
45
46 #endif /* PSYMTAB_H */
psymbol_bcache_get_bcache
struct bcache * psymbol_bcache_get_bcache(struct psymbol_bcache *)
Definition: psymtab.c:1686
dwarf2_debug_names_functions
const struct quick_symbol_functions dwarf2_debug_names_functions
Definition: dwarf2read.c:6444
psymbol_bcache
Definition: psymtab.c:41
objfile
Definition: objfiles.h:286
quick_symbol_functions
Definition: symfile.h:137
bcache
Definition: bcache.c:57
require_partial_symbols
struct objfile * require_partial_symbols(struct objfile *objfile, int verbose)
Definition: psymtab.c:75
psymbol_bcache_free
void psymbol_bcache_free(struct psymbol_bcache *)
Definition: psymtab.c:1674
psymbol_bcache_init
struct psymbol_bcache * psymbol_bcache_init(void)
Definition: psymtab.c:1663
psym_functions
const struct quick_symbol_functions psym_functions
Definition: psymtab.c:1541
symfile.h
dwarf2_gdb_index_functions
const struct quick_symbol_functions dwarf2_gdb_index_functions
Definition: dwarf2read.c:5615