GDB (xrefs)
|
#include "defs.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "observer.h"
#include "source.h"
#include "symtab.h"
#include "symfile.h"
Go to the source code of this file.
Classes | |
struct | debug_sym_fns_data |
Macros | |
#define | COPY_SF_PTR(from, to, name, func) |
Variables | |
static const struct objfile_data * | symfile_debug_objfile_data_key |
static int | debug_symfile = 0 |
static const struct quick_symbol_functions | debug_sym_quick_functions |
static const struct sym_probe_fns | debug_sym_probe_fns |
static const struct sym_fns | debug_sym_fns |
initialize_file_ftype | _initialize_symfile_debug |
Referenced by install_symfile_debug_logging().
void _initialize_symfile_debug | ( | void | ) |
Definition at line 660 of file symfile-debug.c.
References _, add_setshow_boolean_cmd(), debug_symfile, no_class, set_debug_symfile(), setdebuglist, show_debug_symfile(), showdebuglist, symfile_debug_free_objfile(), and symfile_debug_objfile_data_key.
|
static |
Definition at line 183 of file symfile-debug.c.
References quick_symbol_functions::dump, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 225 of file symfile-debug.c.
References quick_symbol_functions::expand_all_symtabs, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 211 of file symfile-debug.c.
References quick_symbol_functions::expand_symtabs_for_function, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 281 of file symfile-debug.c.
References quick_symbol_functions::expand_symtabs_matching, fprintf_filtered(), gdb_stdlog, host_address_to_string(), objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, search_domain_name(), and symfile_debug_objfile_data_key.
|
static |
Definition at line 237 of file symfile-debug.c.
References quick_symbol_functions::expand_symtabs_with_fullname, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
Definition at line 88 of file symfile-debug.c.
References debug_symtab_name(), quick_symbol_functions::find_last_source_symtab, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 307 of file symfile-debug.c.
References compunit_primary_filetab(), debug_symtab_name(), quick_symbol_functions::find_pc_sect_compunit_symtab, fprintf_filtered(), gdb_stdlog, hex_string(), host_address_to_string(), bound_minimal_symbol::minsym, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 106 of file symfile-debug.c.
References quick_symbol_functions::forget_cached_source_info, fprintf_filtered(), gdb_stdlog, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
Definition at line 73 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, quick_symbol_functions::has_symbols, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 147 of file symfile-debug.c.
References compunit_primary_filetab(), debug_symtab_name(), domain_name(), fprintf_filtered(), gdb_stdlog, quick_symbol_functions::lookup_symbol, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 251 of file symfile-debug.c.
References domain_name(), fprintf_filtered(), gdb_stdlog, host_address_to_string(), quick_symbol_functions::map_matching_symbols, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 340 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), quick_symbol_functions::map_symbol_filenames, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 118 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), quick_symbol_functions::map_symtabs_matching_filename, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 171 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), quick_symbol_functions::print_stats, sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 195 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, quick_symbol_functions::relocate, and symfile_debug_objfile_data_key.
|
static |
Definition at line 451 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_finish, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 415 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_init, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 403 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_new_init, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 463 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_offsets, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
Definition at line 427 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_read, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 486 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_read_linetable, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 439 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_read_psymbols, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 498 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_relocate, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 477 of file symfile-debug.c.
References gdb_assert_not_reached.
Referenced by install_symfile_debug_logging().
Definition at line 65 of file symfile-debug.c.
References symtab_to_filename_for_display().
Referenced by debug_qf_find_last_source_symtab(), debug_qf_find_pc_sect_compunit_symtab(), and debug_qf_lookup_symbol().
|
static |
Definition at line 548 of file symfile-debug.c.
References COPY_SF_PTR, debug_sym_fns_data::debug_sf, debug_sym_finish(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_probe_fns, debug_sym_quick_functions, debug_sym_read(), debug_sym_read_linetable(), debug_sym_read_psymbols(), debug_sym_relocate(), debug_sym_segments(), gdb_assert, sym_fns::qf, debug_sym_fns_data::real_sf, objfile::sf, sym_fns::sym_probe_fns, symfile_debug_installed(), and symfile_debug_objfile_data_key.
Referenced by objfile_set_sym_fns(), and set_debug_symfile().
Definition at line 611 of file symfile-debug.c.
References debug_symfile, gdb_assert, install_symfile_debug_logging(), objfile::sf, symfile_debug_installed(), and uninstall_symfile_debug_logging().
Referenced by elf_symfile_read(), reread_symbols(), and syms_from_objfile_1().
|
static |
Definition at line 629 of file symfile-debug.c.
References ALL_PSPACE_OBJFILES, ALL_PSPACES, debug_symfile, install_symfile_debug_logging(), symfile_debug_installed(), and uninstall_symfile_debug_logging().
Referenced by _initialize_symfile_debug().
|
static |
Definition at line 651 of file symfile-debug.c.
References _, and fprintf_filtered().
Referenced by _initialize_symfile_debug().
|
static |
Definition at line 539 of file symfile-debug.c.
References xfree().
Referenced by _initialize_symfile_debug().
Definition at line 56 of file symfile-debug.c.
References objfile::sf, and symfile_debug_objfile_data_key.
Referenced by install_symfile_debug_logging(), objfile_set_sym_fns(), set_debug_symfile(), and uninstall_symfile_debug_logging().
|
static |
Definition at line 593 of file symfile-debug.c.
References gdb_assert, debug_sym_fns_data::real_sf, objfile::sf, symfile_debug_installed(), symfile_debug_objfile_data_key, and xfree().
Referenced by objfile_set_sym_fns(), and set_debug_symfile().
|
static |
Definition at line 378 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string(), objfile_debug_name(), debug_sym_fns_data::real_sf, sym_fns::sym_probe_fns, and symfile_debug_objfile_data_key.
initialize_file_ftype _initialize_symfile_debug |
Definition at line 657 of file symfile-debug.c.
Referenced by initialize_all_files().
Definition at line 521 of file symfile-debug.c.
|
static |
Definition at line 395 of file symfile-debug.c.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 357 of file symfile-debug.c.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 51 of file symfile-debug.c.
Referenced by _initialize_symfile_debug(), objfile_set_sym_fns(), and set_debug_symfile().
|
static |
Definition at line 48 of file symfile-debug.c.
Referenced by _initialize_symfile_debug(), debug_qf_dump(), debug_qf_expand_all_symtabs(), debug_qf_expand_symtabs_for_function(), debug_qf_expand_symtabs_matching(), debug_qf_expand_symtabs_with_fullname(), debug_qf_find_last_source_symtab(), debug_qf_find_pc_sect_compunit_symtab(), debug_qf_forget_cached_source_info(), debug_qf_has_symbols(), debug_qf_lookup_symbol(), debug_qf_map_matching_symbols(), debug_qf_map_symbol_filenames(), debug_qf_map_symtabs_matching_filename(), debug_qf_print_stats(), debug_qf_relocate(), debug_sym_finish(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_read(), debug_sym_read_linetable(), debug_sym_read_psymbols(), debug_sym_relocate(), install_symfile_debug_logging(), symfile_debug_installed(), uninstall_symfile_debug_logging(), and VEC().