GDB (API)
|
00001 /* Public partial symbol table definitions. 00002 00003 Copyright (C) 2009-2013 Free Software Foundation, Inc. 00004 00005 This file is part of GDB. 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00019 00020 #ifndef PSYMTAB_H 00021 #define PSYMTAB_H 00022 00023 #include "symfile.h" 00024 00025 /* A bcache for partial symbols. */ 00026 00027 struct psymbol_bcache; 00028 00029 extern struct psymbol_bcache *psymbol_bcache_init (void); 00030 extern void psymbol_bcache_free (struct psymbol_bcache *); 00031 extern struct bcache *psymbol_bcache_get_bcache (struct psymbol_bcache *); 00032 00033 void expand_partial_symbol_names (int (*fun) (const char *, void *), 00034 void *data); 00035 00036 void map_partial_symbol_filenames (symbol_filename_ftype *fun, void *data, 00037 int need_fullname); 00038 00039 extern const struct quick_symbol_functions psym_functions; 00040 00041 extern const struct quick_symbol_functions dwarf2_gdb_index_functions; 00042 00043 /* Ensure that the partial symbols for OBJFILE have been loaded. If 00044 VERBOSE is non-zero, then this will print a message when symbols 00045 are loaded. This function always returns its argument, as a 00046 convenience. */ 00047 00048 extern struct objfile *require_partial_symbols (struct objfile *objfile, 00049 int verbose); 00050 00051 #endif /* PSYMTAB_H */