GDB (xrefs)
|
#include "defs.h"
#include "gdbcmd.h"
#include "objfiles.h"
#include "observable.h"
#include "source.h"
#include "symtab.h"
#include "symfile.h"
#include "block.h"
#include "filenames.h"
#include "cli/cli-style.h"
Go to the source code of this file.
Classes | |
struct | debug_sym_fns_data |
struct | debug_sym_fns_data::debug_sf |
Macros | |
#define | COPY_SF_PTR(from, to, name, func) |
Functions | |
static int | symfile_debug_installed (struct objfile *objfile) |
static const char * | debug_symtab_name (struct symtab *symtab) |
static const std::vector< std::unique_ptr< probe > > & | debug_sym_get_probes (struct objfile *objfile) |
static void | debug_sym_new_init (struct objfile *objfile) |
static void | debug_sym_init (struct objfile *objfile) |
static void | debug_sym_read (struct objfile *objfile, symfile_add_flags symfile_flags) |
static void | debug_sym_finish (struct objfile *objfile) |
static void | debug_sym_offsets (struct objfile *objfile, const section_addr_info &info) |
static symfile_segment_data_up | debug_sym_segments (bfd *abfd) |
static void | debug_sym_read_linetable (struct objfile *objfile) |
static bfd_byte * | debug_sym_relocate (struct objfile *objfile, asection *sectp, bfd_byte *buf) |
static void | install_symfile_debug_logging (struct objfile *objfile) |
static void | uninstall_symfile_debug_logging (struct objfile *objfile) |
void | objfile_set_sym_fns (struct objfile *objfile, const struct sym_fns *sf) |
static void | set_debug_symfile (const char *args, int from_tty, struct cmd_list_element *c) |
static void | show_debug_symfile (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
void | _initialize_symfile_debug () |
Variables | |
static const registry< objfile >::key< debug_sym_fns_data > | symfile_debug_objfile_data_key |
static bool | debug_symfile = false |
static const struct sym_probe_fns | debug_sym_probe_fns |
static const struct sym_fns | debug_sym_fns |
void _initialize_symfile_debug | ( | ) |
Definition at line 816 of file symfile-debug.c.
Referenced by initialize_all_files().
|
static |
Definition at line 625 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 565 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 601 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 589 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 637 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 613 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 660 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 672 of file symfile-debug.c.
References gdb_printf(), gdb_stdlog, registry< T >::get(), 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 651 of file symfile-debug.c.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 69 of file symfile-debug.c.
References symtab_to_filename_for_display().
Referenced by objfile::find_compunit_symtab_by_address(), objfile::find_last_source_symtab(), objfile::find_pc_sect_compunit_symtab(), and objfile::lookup_symbol().
|
static |
Definition at line 712 of file symfile-debug.c.
References COPY_SF_PTR, debug_sym_finish(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_probe_fns, debug_sym_read(), debug_sym_read_linetable(), debug_sym_relocate(), debug_sym_segments(), debug_sym_fns_data::real_sf, registry< T >::set(), 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 771 of file symfile-debug.c.
References debug_symfile, install_symfile_debug_logging(), objfile::sf, symfile_debug_installed(), and uninstall_symfile_debug_logging().
Referenced by reread_symbols(), and syms_from_objfile_1().
|
static |
Definition at line 789 of file symfile-debug.c.
References debug_symfile, install_symfile_debug_logging(), program_spaces, symfile_debug_installed(), and uninstall_symfile_debug_logging().
|
static |
Definition at line 808 of file symfile-debug.c.
References gdb_printf().
|
static |
Definition at line 60 of file symfile-debug.c.
References registry< T >::get(), 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 754 of file symfile-debug.c.
References registry< T >::get(), debug_sym_fns_data::real_sf, objfile::sf, symfile_debug_installed(), and symfile_debug_objfile_data_key.
Referenced by objfile_set_sym_fns(), and set_debug_symfile().
|
static |
Definition at line 695 of file symfile-debug.c.
|
static |
Definition at line 581 of file symfile-debug.c.
Referenced by install_symfile_debug_logging().
|
static |
Definition at line 55 of file symfile-debug.c.
Referenced by objfile::dump(), objfile::expand_all_symtabs(), objfile::expand_matching_symbols(), objfile::expand_symtabs_for_function(), objfile::expand_symtabs_matching(), objfile::expand_symtabs_with_fullname(), objfile::find_compunit_symtab_by_address(), objfile::find_last_source_symtab(), objfile::find_pc_sect_compunit_symtab(), objfile::forget_cached_source_info(), objfile::has_partial_symbols(), objfile::has_unexpanded_symtabs(), objfile::lookup_symbol(), objfile::map_symbol_filenames(), objfile::map_symtabs_matching_filename(), objfile_set_sym_fns(), objfile::print_stats(), and set_debug_symfile().
|
static |
Definition at line 52 of file symfile-debug.c.
Referenced by 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_relocate(), install_symfile_debug_logging(), symfile_debug_installed(), and uninstall_symfile_debug_logging().