GDB (xrefs)

Classes | Macros | Functions | Variables
/tmp/gdb-8.1/gdb/symfile-debug.c File Reference
`#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)

## Functions
static int | symfile_debug_installed (struct objfile *objfile)
static const char * | debug_symtab_name (struct symtab *symtab)
static int | debug_qf_has_symbols (struct objfile *objfile)
static struct symtab * | debug_qf_find_last_source_symtab (struct objfile *objfile)
static void | debug_qf_forget_cached_source_info (struct objfile *objfile)
static bool | debug_qf_map_symtabs_matching_filename (struct objfile *objfile, const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback)
static struct compunit_symtab * | debug_qf_lookup_symbol (struct objfile *objfile, int kind, const char *name, domain_enum domain)
static void | debug_qf_print_stats (struct objfile *objfile)
static void | debug_qf_dump (struct objfile *objfile)
static void | debug_qf_relocate (struct objfile *objfile, const struct section_offsets *new_offsets, const struct section_offsets *delta)
static void | debug_qf_expand_symtabs_for_function (struct objfile *objfile, const char *func_name)
static void | debug_qf_expand_all_symtabs (struct objfile *objfile)
static void | debug_qf_expand_symtabs_with_fullname (struct objfile *objfile, const char *fullname)
static void | debug_qf_map_matching_symbols (struct objfile *objfile, const char *name, domain_enum domain, int global, int(*callback)(struct block *, struct symbol *, void *), void *data, symbol_name_match_type match, symbol_compare_ftype *ordered_compare)
static void | debug_qf_expand_symtabs_matching (struct objfile *objfile, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, const lookup_name_info &lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, enum search_domain kind)
static struct compunit_symtab * | debug_qf_find_pc_sect_compunit_symtab (struct objfile *objfile, struct bound_minimal_symbol msymbol, CORE_ADDR pc, struct obj_section *section, int warn_if_readin)
static void | debug_qf_map_symbol_filenames (struct objfile *objfile, symbol_filename_ftype *fun, void *data, int need_fullname)
static struct compunit_symtab * | debug_qf_find_compunit_symtab_by_address (struct objfile *objfile, CORE_ADDR address)
static const std::vector< 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_read_psymbols (struct objfile *objfile)
static void | debug_sym_finish (struct objfile *objfile)
static void | debug_sym_offsets (struct objfile *objfile, const struct section_addr_info *info)
static struct symfile_segment_data * | 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 | symfile_debug_free_objfile (struct objfile *objfile, void *datum)
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 (void)

## 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

## Macro Definition Documentation

## ◆ COPY_SF_PTR

#define COPY_SF_PTR | ( |  | from,
|  |  | to,
|  |  | name,
|  |  | func
| ) |  |

Value:
do { \
if ((from)->name) \
(to)->debug_sf.name = func; \
} while (0)
func
void(* func)(char *)
Definition: remote-fileio.c:1104
name
const char *const name
Definition: aarch64-tdep.c:76

Referenced by install_symfile_debug_logging().

## Function Documentation

## ◆ _initialize_symfile_debug()

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.

## ◆ debug_qf_dump()

static void debug_qf_dump | ( | struct objfile * | objfile | ) |
| 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.

## ◆ debug_qf_expand_all_symtabs()

static void debug_qf_expand_all_symtabs | ( | struct objfile * | objfile | ) |
| 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.

## ◆ debug_qf_expand_symtabs_for_function()

static void debug_qf_expand_symtabs_for_function | ( | struct objfile * | objfile,
|  | const char * | func_name
| ) |  |
| 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.

## ◆ debug_qf_expand_symtabs_matching()

static void debug_qf_expand_symtabs_matching | ( | struct objfile * | objfile,
|  | gdb::function_view< expand_symtabs_file_matcher_ftype > | file_matcher,
|  | const lookup_name_info & | lookup_name,
|  | gdb::function_view< expand_symtabs_symbol_matcher_ftype > | symbol_matcher,
|  | gdb::function_view< expand_symtabs_exp_notify_ftype > | expansion_notify,
|  | enum search_domain | kind
| ) |  |
| 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.

## ◆ debug_qf_expand_symtabs_with_fullname()

static void debug_qf_expand_symtabs_with_fullname | ( | struct objfile * | objfile,
|  | const char * | fullname
| ) |  |
| 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.

## ◆ debug_qf_find_compunit_symtab_by_address()

static struct compunit_symtab* debug_qf_find_compunit_symtab_by_address | ( | struct objfile * | objfile,
|  | CORE_ADDR | address
| ) |  |
| 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.

## ◆ debug_qf_find_last_source_symtab()

static struct symtab* debug_qf_find_last_source_symtab | ( | struct objfile * | objfile | ) |
| static

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.

## ◆ debug_qf_find_pc_sect_compunit_symtab()

static struct compunit_symtab* debug_qf_find_pc_sect_compunit_symtab | ( | struct objfile * | objfile,
|  | struct bound_minimal_symbol | msymbol,
|  | CORE_ADDR | pc,
|  | struct obj_section * | section,
|  | int | warn_if_readin
| ) |  |
| 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.

## ◆ debug_qf_forget_cached_source_info()

static void debug_qf_forget_cached_source_info | ( | struct objfile * | objfile | ) |
| 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.

## ◆ debug_qf_has_symbols()

static int debug_qf_has_symbols | ( | struct objfile * | objfile | ) |
| 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.

## ◆ debug_qf_lookup_symbol()

static struct compunit_symtab* debug_qf_lookup_symbol | ( | struct objfile * | objfile,
|  | int | kind,
|  | const char * | name,
|  | domain_enum | domain
| ) |  |
| 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.

## ◆ debug_qf_map_matching_symbols()

static void debug_qf_map_matching_symbols | ( | struct objfile * | objfile,
|  | const char * | name,
|  | domain_enum | domain,
|  | int | global,
|  | int(*)(struct block *, struct symbol *, void *) | callback,
|  | void * | data,
|  | symbol_name_match_type | match,
|  | symbol_compare_ftype * | ordered_compare
| ) |  |
| 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.

## ◆ debug_qf_map_symbol_filenames()

static void debug_qf_map_symbol_filenames | ( | struct objfile * | objfile,
|  | symbol_filename_ftype * | fun,
|  | void * | data,
|  | int | need_fullname
| ) |  |
| 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.

## ◆ debug_qf_map_symtabs_matching_filename()

static bool debug_qf_map_symtabs_matching_filename | ( | struct objfile * | objfile,
|  | const char * | name,
|  | const char * | real_path,
|  | gdb::function_view< bool(symtab *)> | callback
| ) |  |
| 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.

## ◆ debug_qf_print_stats()

static void debug_qf_print_stats | ( | struct objfile * | objfile | ) |
| 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.

## ◆ debug_qf_relocate()

static void debug_qf_relocate | ( | struct objfile * | objfile,
|  | const struct section_offsets * | new_offsets,
|  | const struct section_offsets * | delta
| ) |  |
| 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.

## ◆ debug_sym_finish()

static void debug_sym_finish | ( | struct objfile * | objfile | ) |
| 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().

## ◆ debug_sym_get_probes()

static const std::vector<probe *>& debug_sym_get_probes | ( | struct objfile * | objfile | ) |
| static

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.

## ◆ debug_sym_init()

static void debug_sym_init | ( | struct objfile * | objfile | ) |
| 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().

## ◆ debug_sym_new_init()

static void debug_sym_new_init | ( | struct objfile * | objfile | ) |
| 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().

## ◆ debug_sym_offsets()

static void debug_sym_offsets | ( | struct objfile * | objfile,
|  | const struct section_addr_info * | info
| ) |  |
| 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().

## ◆ debug_sym_read()

static void debug_sym_read | ( | struct objfile * | objfile,
|  | symfile_add_flags | symfile_flags
| ) |  |
| 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().

## ◆ debug_sym_read_linetable()

static void debug_sym_read_linetable | ( | struct objfile * | objfile | ) |
| 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().

## ◆ debug_sym_read_psymbols()

static void debug_sym_read_psymbols | ( | struct objfile * | objfile | ) |
| 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().

## ◆ debug_sym_relocate()

static bfd_byte* debug_sym_relocate | ( | struct objfile * | objfile,
|  | asection * | sectp,
|  | bfd_byte * | buf
| ) |  |
| 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().

## ◆ debug_sym_segments()

static struct symfile_segment_data* debug_sym_segments | ( | bfd * | abfd | ) |
| static

Definition at line 523 of file symfile-debug.c.

References gdb_assert_not_reached.

Referenced by install_symfile_debug_logging().

## ◆ debug_symtab_name()

static const char* debug_symtab_name | ( | struct symtab * | symtab | ) |
| 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().

## ◆ install_symfile_debug_logging()

static void install_symfile_debug_logging | ( | struct objfile * | objfile | ) |
| 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().

## ◆ objfile_set_sym_fns()

void objfile_set_sym_fns | ( | struct objfile * | objfile,
|  | const struct sym_fns * | sf
| ) |  |

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().

## ◆ set_debug_symfile()

static void set_debug_symfile | ( | const char * | args,
|  | int | from_tty,
|  | struct cmd_list_element * | c
| ) |  |
| 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().

## ◆ show_debug_symfile()

static void show_debug_symfile | ( | struct ui_file * | file,
|  | int | from_tty,
|  | struct cmd_list_element * | c,
|  | const char * | value
| ) |  |
| static

Definition at line 700 of file symfile-debug.c.

References _, and fprintf_filtered().

Referenced by _initialize_symfile_debug().

## ◆ symfile_debug_free_objfile()

static void symfile_debug_free_objfile | ( | struct objfile * | objfile,
|  | void * | datum
| ) |  |
| static

Definition at line 587 of file symfile-debug.c.

References xfree().

Referenced by _initialize_symfile_debug().

## ◆ symfile_debug_installed()

static int symfile_debug_installed | ( | struct objfile * | objfile | ) |
| 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().

## ◆ uninstall_symfile_debug_logging()

static void uninstall_symfile_debug_logging | ( | struct objfile * | objfile | ) |
| 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().

## Variable Documentation

## ◆ debug_sym_fns

const struct sym_fns debug_sym_fns
| static

Initial value:
=
{
debug_sym_new_init,
debug_sym_init,
debug_sym_read,
debug_sym_read_psymbols,
debug_sym_finish,
debug_sym_offsets,
debug_sym_segments,
debug_sym_read_linetable,
debug_sym_relocate,
&debug_sym_probe_fns,
&debug_sym_quick_functions
}
debug_sym_probe_fns
static const struct sym_probe_fns debug_sym_probe_fns
Definition: symfile-debug.c:435
debug_sym_new_init
static void debug_sym_new_init(struct objfile *objfile)
Definition: symfile-debug.c:443
debug_sym_finish
static void debug_sym_finish(struct objfile *objfile)
Definition: symfile-debug.c:495
debug_sym_read
static void debug_sym_read(struct objfile *objfile, symfile_add_flags symfile_flags)
Definition: symfile-debug.c:469
debug_sym_quick_functions
static const struct quick_symbol_functions debug_sym_quick_functions
Definition: symfile-debug.c:395
debug_sym_offsets
static void debug_sym_offsets(struct objfile *objfile, const struct section_addr_info *info)
Definition: symfile-debug.c:508
debug_sym_read_psymbols
static void debug_sym_read_psymbols(struct objfile *objfile)
Definition: symfile-debug.c:482
debug_sym_segments
static struct symfile_segment_data * debug_sym_segments(bfd *abfd)
Definition: symfile-debug.c:523
debug_sym_read_linetable
static void debug_sym_read_linetable(struct objfile *objfile)
Definition: symfile-debug.c:532
debug_sym_relocate
static bfd_byte * debug_sym_relocate(struct objfile *objfile, asection *sectp, bfd_byte *buf)
Definition: symfile-debug.c:545
debug_sym_init
static void debug_sym_init(struct objfile *objfile)
Definition: symfile-debug.c:456

Definition at line 569 of file symfile-debug.c.

## ◆ debug_sym_probe_fns

const struct sym_probe_fns debug_sym_probe_fns
| static

Initial value:
=
{
debug_sym_get_probes,
}
debug_sym_get_probes
static const std::vector< probe * > & debug_sym_get_probes(struct objfile *objfile)
Definition: symfile-debug.c:418

Definition at line 435 of file symfile-debug.c.

Referenced by install_symfile_debug_logging().

## ◆ debug_sym_quick_functions

const struct quick_symbol_functions debug_sym_quick_functions
| static

Initial value:
=
{
debug_qf_has_symbols,
debug_qf_find_last_source_symtab,
debug_qf_forget_cached_source_info,
debug_qf_map_symtabs_matching_filename,
debug_qf_lookup_symbol,
debug_qf_print_stats,
debug_qf_dump,
debug_qf_relocate,
debug_qf_expand_symtabs_for_function,
debug_qf_expand_all_symtabs,
debug_qf_expand_symtabs_with_fullname,
debug_qf_map_matching_symbols,
debug_qf_expand_symtabs_matching,
debug_qf_find_pc_sect_compunit_symtab,
debug_qf_find_compunit_symtab_by_address,
debug_qf_map_symbol_filenames
}
debug_qf_relocate
static void debug_qf_relocate(struct objfile *objfile, const struct section_offsets *new_offsets, const struct section_offsets *delta)
Definition: symfile-debug.c:197
debug_qf_map_matching_symbols
static void debug_qf_map_matching_symbols(struct objfile *objfile, const char *name, domain_enum domain, int global, int(*callback)(struct block *, struct symbol *, void *), void *data, symbol_name_match_type match, symbol_compare_ftype *ordered_compare)
Definition: symfile-debug.c:257
debug_qf_expand_symtabs_with_fullname
static void debug_qf_expand_symtabs_with_fullname(struct objfile *objfile, const char *fullname)
Definition: symfile-debug.c:242
debug_qf_dump
static void debug_qf_dump(struct objfile *objfile)
Definition: symfile-debug.c:184
debug_qf_forget_cached_source_info
static void debug_qf_forget_cached_source_info(struct objfile *objfile)
Definition: symfile-debug.c:108
debug_qf_lookup_symbol
static struct compunit_symtab * debug_qf_lookup_symbol(struct objfile *objfile, int kind, const char *name, domain_enum domain)
Definition: symfile-debug.c:146
debug_qf_find_last_source_symtab
static struct symtab * debug_qf_find_last_source_symtab(struct objfile *objfile)
Definition: symfile-debug.c:89
debug_qf_has_symbols
static int debug_qf_has_symbols(struct objfile *objfile)
Definition: symfile-debug.c:73
debug_qf_expand_symtabs_for_function
static void debug_qf_expand_symtabs_for_function(struct objfile *objfile, const char *func_name)
Definition: symfile-debug.c:214
debug_qf_expand_all_symtabs
static void debug_qf_expand_all_symtabs(struct objfile *objfile)
Definition: symfile-debug.c:229
debug_qf_map_symbol_filenames
static void debug_qf_map_symbol_filenames(struct objfile *objfile, symbol_filename_ftype *fun, void *data, int need_fullname)
Definition: symfile-debug.c:350
debug_qf_find_pc_sect_compunit_symtab
static struct compunit_symtab * debug_qf_find_pc_sect_compunit_symtab(struct objfile *objfile, struct bound_minimal_symbol msymbol, CORE_ADDR pc, struct obj_section *section, int warn_if_readin)
Definition: symfile-debug.c:316
debug_qf_map_symtabs_matching_filename
static bool debug_qf_map_symtabs_matching_filename(struct objfile *objfile, const char *name, const char *real_path, gdb::function_view< bool(symtab *)> callback)
Definition: symfile-debug.c:122
debug_qf_find_compunit_symtab_by_address
static struct compunit_symtab * debug_qf_find_compunit_symtab_by_address(struct objfile *objfile, CORE_ADDR address)
Definition: symfile-debug.c:369
debug_qf_expand_symtabs_matching
static void debug_qf_expand_symtabs_matching(struct objfile *objfile, gdb::function_view< expand_symtabs_file_matcher_ftype > file_matcher, const lookup_name_info &lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > symbol_matcher, gdb::function_view< expand_symtabs_exp_notify_ftype > expansion_notify, enum search_domain kind)
Definition: symfile-debug.c:288
debug_qf_print_stats
static void debug_qf_print_stats(struct objfile *objfile)
Definition: symfile-debug.c:171

Definition at line 395 of file symfile-debug.c.

Referenced by install_symfile_debug_logging().

## ◆ debug_symfile

int debug_symfile = 0
| static

Definition at line 51 of file symfile-debug.c.

Referenced by _initialize_symfile_debug(), objfile_set_sym_fns(), and set_debug_symfile().

## ◆ symfile_debug_objfile_data_key

const struct objfile_data* symfile_debug_objfile_data_key
| 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().