GDB (xrefs)
Classes | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/complaints.c File Reference
#include "defs.h"
#include "complaints.h"
#include "command.h"
#include "gdbcmd.h"

Go to the source code of this file.

Classes

struct  complain
 
struct  explanation
 
struct  complaints
 

Enumerations

enum  complaint_series { ISOLATED_MESSAGE, FIRST_MESSAGE, SHORT_FIRST_MESSAGE, SUBSEQUENT_MESSAGE }
 

Functions

static struct complaintsget_complaints (struct complaints **c)
 
static struct complainATTRIBUTE_PRINTF (4, 0)
 
void complaint_internal (struct complaints **complaints, const char *fmt,...)
 
void internal_complaint (struct complaints **complaints, const char *file, int line, const char *fmt,...)
 
void clear_complaints (struct complaints **c, int less_verbose, int noisy)
 
static void complaints_show_value (struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value)
 
void _initialize_complaints (void)
 

Variables

static struct complain complaint_sentinel
 
static struct explanation symfile_explanations []
 
static struct complaints symfile_complaint_book
 
struct complaintssymfile_complaints = &symfile_complaint_book
 
int stop_whining = 0
 

Enumeration Type Documentation

◆ complaint_series

Enumerator
ISOLATED_MESSAGE 
FIRST_MESSAGE 
SHORT_FIRST_MESSAGE 
SUBSEQUENT_MESSAGE 

Definition at line 28 of file complaints.c.

Function Documentation

◆ _initialize_complaints()

void _initialize_complaints ( void  )

◆ ATTRIBUTE_PRINTF()

static void ATTRIBUTE_PRINTF ( ,
 
)
static

Definition at line 112 of file complaints.c.

References complaint, complain::file, complain::fmt, complain::line, complaints::root, and XNEW.

◆ clear_complaints()

void clear_complaints ( struct complaints **  c,
int  less_verbose,
int  noisy 
)

◆ complaint_internal()

void complaint_internal ( struct complaints **  complaints,
const char *  fmt,
  ... 
)

Definition at line 239 of file complaints.c.

References complain::fmt.

◆ complaints_show_value()

static void complaints_show_value ( struct ui_file file,
int  from_tty,
struct cmd_list_element cmd,
const char *  value 
)
static

Definition at line 309 of file complaints.c.

References _, complain::file, and fprintf_filtered().

Referenced by _initialize_complaints().

◆ get_complaints()

static struct complaints* get_complaints ( struct complaints **  c)
static

Definition at line 101 of file complaints.c.

References complaint_sentinel, ISOLATED_MESSAGE, and XNEW.

Referenced by clear_complaints().

◆ internal_complaint()

void internal_complaint ( struct complaints **  complaints,
const char *  file,
int  line,
const char *  fmt,
  ... 
)

Definition at line 249 of file complaints.c.

References complain::file, complain::fmt, and complain::line.

Variable Documentation

◆ complaint_sentinel

struct complain complaint_sentinel
static

Definition at line 79 of file complaints.c.

Referenced by get_complaints().

◆ stop_whining

int stop_whining = 0

Definition at line 151 of file complaints.c.

Referenced by _initialize_complaints().

◆ symfile_complaint_book

struct complaints symfile_complaint_book
static
Initial value:
= {
}
static struct complain complaint_sentinel
Definition: complaints.c:79
static struct explanation symfile_explanations[]
Definition: complaints.c:83

Definition at line 91 of file complaints.c.

◆ symfile_complaints

struct complaints* symfile_complaints = &symfile_complaint_book

Definition at line 96 of file complaints.c.

Referenced by add_partial_enumeration(), attach_fields_to_type(), augment_type_symtab(), bad_rfd_entry_complaint(), bad_tag_guess_complaint(), basic_type_complaint(), bf_notfound_complaint(), check_for_redefinition(), lnp_state_machine::check_line_address(), cleanup_undefined_types_1(), coff_symtab_read(), common_block_end(), common_block_start(), complain_about_struct_wipeout(), consume_improper_spaces(), create_addrmap_from_index(), create_cus_hash_table(), create_debug_type_hash_table(), create_dwo_cu_reader(), create_dwp_hash_table(), cross_ref(), dbx_lookup_type(), debug_names::debug_str_lookup::debug_str_lookup(), decode_base_type(), decode_frame_entry(), decode_locdesc(), decode_type(), define_symbol(), demangled_name_complaint(), determine_prefix(), dtrace_process_dof(), dw2_expand_marked_cus(), dw2_symtab_iter_next(), dwarf2_add_member_fn(), dwarf2_add_type_defn(), dwarf2_attach_fields_to_type(), dwarf2_complex_location_expr_complaint(), dwarf2_compute_name(), dwarf2_const_value_attr(), dwarf2_const_value_length_mismatch_complaint(), dwarf2_debug_line_missing_end_sequence_complaint(), dwarf2_debug_line_missing_file_complaint(), dwarf2_fetch_constant_bytes(), dwarf2_frame_cache(), dwarf2_get_attr_constant_value(), dwarf2_get_ref_die_offset(), dwarf2_invalid_attrib_class_complaint(), dwarf2_macro_malformed_definition_complaint(), dwarf2_physname(), dwarf2_ranges_process(), dwarf2_restore_rule(), dwarf2_rnglists_process(), dwarf2_section_buffer_overflow_complaint(), dwarf2_statement_list_fits_in_line_number_section_complaint(), dwarf2_string_attr(), dwarf2_symbol_mark_computed(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), dwarf_parse_macro_header(), dwarf_reg_to_regnum(), eb_complaint(), ef_complaint(), end_symtab_get_static_block(), enter_line_range(), enter_linenos(), error_type(), execute_cfa_program(), file_file_name(), filter_overlapping_sections(), dw2_debug_names_iterator::find_vec_in_debug_names(), finish_block_internal(), finish_new_objfile(), fixup_go_packaging(), function_outside_compilation_unit_complaint(), get_DW_AT_signature_type(), dtrace_static_probe_ops::get_probes(), stap_static_probe_ops::get_probes(), get_signatured_type(), get_stap_base_address(), handle_stap_probe(), handle_unload_dll(), index_complaint(), info_selectors_command(), inherit_abstract_dies(), init_cutu_and_read_dies(), invalid_cpp_abbrev_complaint(), lbrac_mismatch_complaint(), load_partial_dies(), lookup_child_selector(), lookup_die_type(), lookup_objc_class(), macho_add_oso_symfile(), macho_symtab_read(), macro_include(), macro_undef(), make_blockvector(), new_symbol_full(), dw2_debug_names_iterator::next(), parse_lines(), parse_partial_symbols(), parse_procedure(), parse_symbol(), parse_type(), partial_die_parent_scope(), process_die(), process_one_symbol(), process_structure_scope(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_args(), read_array_type(), read_attribute_value(), read_base_type(), read_baseclasses(), read_call_site_scope(), read_checked_initial_length_and_offset(), read_common_block(), read_cpp_abbrev(), read_dbx_symtab(), read_file_scope(), read_formatted_entries(), read_func_scope(), read_import_statement(), read_member_functions(), read_module_type(), read_namespace_alias(), read_partial_die(), read_range_type(), read_subrange_type(), read_symbol(), read_tag_pointer_type(), read_tilde_fields(), read_type(), read_type_die_1(), read_typedef(), read_xcoff_symtab(), record_include_begin(), record_include_end(), reg_value_complaint(), repeated_header_complaint(), reread_symbols(), rs6000_builtin_type(), sal_macro_scope(), scan_file_globals(), scan_xcoff_symtab(), set_die_type(), set_namestring(), skip_form_bytes(), skip_one_die(), skip_unknown_opcode(), stabs_general_complaint(), stabs_method_name_from_physname(), stub_noname_complaint(), syms_from_objfile_1(), unexpected_type_code_complaint(), unknown_ext_complaint(), unknown_symtype_complaint(), upgrade_type(), and xcoff_next_symbol_text().

◆ symfile_explanations

struct explanation symfile_explanations[]
static
Initial value:
= {
{ "During symbol reading, ", "." },
{ "During symbol reading...", "..."},
{ "", "..."},
{ "", "..."},
{ NULL, NULL }
}

Definition at line 83 of file complaints.c.