|
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 |
Referenced by install_symfile_debug_logging().
| void _initialize_symfile_debug | ( | void | ) |
Definition at line 707 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 184 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 229 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 214 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 288 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 242 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.
|
static |
Definition at line 369 of file symfile-debug.c.
References compunit_primary_filetab(), debug_symtab_name(), quick_symbol_functions::find_compunit_symtab_by_address, fprintf_filtered(), gdb_stdlog, hex_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.
Definition at line 89 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 316 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 108 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.
|
static |
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 146 of file symfile-debug.c.
References compunit_primary_filetab(), debug_symtab_name(), domain_name(), fprintf_filtered(), gdb_stdlog, quick_symbol_functions::lookup_symbol, name, objfile_debug_name(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 257 of file symfile-debug.c.
References domain_name(), fprintf_filtered(), gdb_stdlog, selftests::scoped_restore_tests::global, host_address_to_string, quick_symbol_functions::map_matching_symbols, name, objfile_debug_name(), plongest(), sym_fns::qf, debug_sym_fns_data::real_sf, and symfile_debug_objfile_data_key.
|
static |
Definition at line 350 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 122 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string, quick_symbol_functions::map_symtabs_matching_filename, name, 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 197 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 495 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().
Definition at line 418 of file symfile-debug.c.
References fprintf_filtered(), gdb_stdlog, host_address_to_string, objfile_debug_name(), debug_sym_fns_data::real_sf, sym_probe_fns::sym_get_probes, sym_fns::sym_probe_fns, and symfile_debug_objfile_data_key.
|
static |
Definition at line 456 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 443 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 508 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().
|
static |
Definition at line 469 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 532 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 482 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 545 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 523 of file symfile-debug.c.
References gdb_assert_not_reached.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 65 of file symfile-debug.c.
References symtab_to_filename_for_display().
Referenced by debug_qf_find_compunit_symtab_by_address(), debug_qf_find_last_source_symtab(), debug_qf_find_pc_sect_compunit_symtab(), and debug_qf_lookup_symbol().
|
static |
Definition at line 596 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(), symfile_debug_objfile_data_key, and XCNEW.
Referenced by objfile_set_sym_fns(), and set_debug_symfile().
Definition at line 660 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 678 of file symfile-debug.c.
References ALL_PSPACE_OBJFILES, ALL_PSPACES, debug_symfile, install_symfile_debug_logging(), objfile::objfile(), objfile::pspace, symfile_debug_installed(), and uninstall_symfile_debug_logging().
Referenced by _initialize_symfile_debug().
|
static |
Definition at line 700 of file symfile-debug.c.
References _, and fprintf_filtered().
Referenced by _initialize_symfile_debug().
|
static |
Definition at line 587 of file symfile-debug.c.
References xfree().
Referenced by _initialize_symfile_debug().
|
static |
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 641 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 569 of file symfile-debug.c.
|
static |
Definition at line 435 of file symfile-debug.c.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 395 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_compunit_symtab_by_address(), 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_get_probes(), 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(), and uninstall_symfile_debug_logging().
1.8.14