static int debug_qf_map_symtabs_matching_filename (struct objfile *objfile, const char *name, const char *real_path, int (*callback) (struct symtab *, void *), void *data) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); int retval; fprintf_filtered (gdb_stdlog, "qf->map_symtabs_matching_filename (%s, \"%s\", \"%s\", %s, %s)\n", debug_objfile_name (objfile), name, real_path ? real_path : NULL, host_address_to_string (callback), host_address_to_string (data)); retval = debug_data->real_sf->qf->map_symtabs_matching_filename (objfile, name, real_path, callback, data); fprintf_filtered (gdb_stdlog, "qf->map_symtabs_matching_filename (...) = %d\n", retval); return retval; }
static void debug_qf_expand_all_symtabs (struct objfile *objfile) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); fprintf_filtered (gdb_stdlog, "qf->expand_all_symtabs (%s)\n", debug_objfile_name (objfile)); debug_data->real_sf->qf->expand_all_symtabs (objfile); }
static void debug_qf_forget_cached_source_info (struct objfile *objfile) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); fprintf_filtered (gdb_stdlog, "qf->forget_cached_source_info (%s)\n", debug_objfile_name (objfile)); debug_data->real_sf->qf->forget_cached_source_info (objfile); }
static void debug_qf_expand_symtabs_with_fullname (struct objfile *objfile, const char *fullname) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); fprintf_filtered (gdb_stdlog, "qf->expand_symtabs_with_fullname (%s, \"%s\")\n", debug_objfile_name (objfile), fullname); debug_data->real_sf->qf->expand_symtabs_with_fullname (objfile, fullname); }
static int debug_qf_has_symbols (struct objfile *objfile) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); int retval; retval = debug_data->real_sf->qf->has_symbols (objfile); fprintf_filtered (gdb_stdlog, "qf->has_symbols (%s) = %d\n", debug_objfile_name (objfile), retval); return retval; }
static void debug_qf_relocate (struct objfile *objfile, const struct section_offsets *new_offsets, const struct section_offsets *delta) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); fprintf_filtered (gdb_stdlog, "qf->relocate (%s, %s, %s)\n", debug_objfile_name (objfile), host_address_to_string (new_offsets), host_address_to_string (delta)); debug_data->real_sf->qf->relocate (objfile, new_offsets, delta); }
static struct symtab * debug_qf_find_last_source_symtab (struct objfile *objfile) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); struct symtab *retval; fprintf_filtered (gdb_stdlog, "qf->find_last_source_symtab (%s)\n", debug_objfile_name (objfile)); retval = debug_data->real_sf->qf->find_last_source_symtab (objfile); fprintf_filtered (gdb_stdlog, "qf->find_last_source_symtab (...) = %s\n", retval ? debug_symtab_name (retval) : "NULL"); return retval; }
static struct symtab * debug_qf_lookup_symbol (struct objfile *objfile, int kind, const char *name, domain_enum domain) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); struct symtab *retval; fprintf_filtered (gdb_stdlog, "qf->lookup_symbol (%s, %d, \"%s\", %s)\n", debug_objfile_name (objfile), kind, name, domain_name (domain)); retval = debug_data->real_sf->qf->lookup_symbol (objfile, kind, name, domain); fprintf_filtered (gdb_stdlog, "qf->lookup_symbol (...) = %s\n", retval ? debug_symtab_name (retval) : "NULL"); return retval; }
static void debug_qf_map_matching_symbols (struct objfile *objfile, const char *name, domain_enum namespace, int global, int (*callback) (struct block *, struct symbol *, void *), void *data, symbol_compare_ftype *match, symbol_compare_ftype *ordered_compare) { const struct debug_sym_fns_data *debug_data = objfile_data (objfile, symfile_debug_objfile_data_key); fprintf_filtered (gdb_stdlog, "qf->map_matching_symbols (%s, \"%s\", %s, %d, %s, %s, %s, %s)\n", debug_objfile_name (objfile), name, domain_name (namespace), global, host_address_to_string (callback), host_address_to_string (data), host_address_to_string (match), host_address_to_string (ordered_compare)); debug_data->real_sf->qf->map_matching_symbols (objfile, name, namespace, global, callback, data, match, ordered_compare); } static void debug_qf_expand_symtabs_matching