GDB (xrefs)
|
#include "f-lang.h"
Public Member Functions | |
f_language () | |
const char * | name () const override |
const char * | natural_name () const override |
const std::vector< const char * > & | filename_extensions () const override |
void | print_array_index (struct type *index_type, LONGEST index, struct ui_file *stream, const value_print_options *options) const override |
void | language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) const override |
unsigned int | search_name_hash (const char *name) const override |
gdb::unique_xmalloc_ptr< char > | demangle_symbol (const char *mangled, int options) const override |
void | print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override |
const char * | word_break_characters (void) const override |
void | collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, enum type_code code) const override |
void | value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override |
struct block_symbol | lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain) const override |
int | parser (struct parser_state *ps) const override |
void | emitchar (int ch, struct type *chtype, struct ui_file *stream, int quoter) const override |
void | printchar (int ch, struct type *chtype, struct ui_file *stream) const override |
void | printstr (struct ui_file *stream, struct type *elttype, const gdb_byte *string, unsigned int length, const char *encoding, int force_ellipses, const struct value_print_options *options) const override |
void | print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream) const override |
bool | is_string_type_p (struct type *type) const override |
struct value * | value_string (struct gdbarch *gdbarch, const char *ptr, ssize_t len) const override |
const char * | struct_too_deep_ellipsis () const override |
bool | c_style_arrays_p () const override |
bool | range_checking_on_by_default () const override |
enum case_sensitivity | case_sensitivity () const override |
enum array_ordering | array_ordering () const override |
![]() | |
language_defn (enum language lang) | |
virtual const char * | get_digit_separator () const |
virtual struct value * | read_var_value (struct symbol *var, const struct block *var_block, frame_info_ptr frame) const |
virtual struct language_pass_by_ref_info | pass_by_reference_info (struct type *type) const |
virtual bool | symbol_printing_suppressed (struct symbol *symbol) const |
virtual struct type * | lookup_transparent_type (const char *name) const |
virtual bool | iterate_over_symbols (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback) const |
symbol_name_matcher_ftype * | get_symbol_name_matcher (const lookup_name_info &lookup_name) const |
virtual std::unique_ptr< compile_instance > | get_compile_instance () const |
virtual std::string | compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) const |
virtual bool | sniff_from_mangled_name (const char *mangled, gdb::unique_xmalloc_ptr< char > *demangled) const |
virtual bool | can_print_type_offsets () const |
virtual CORE_ADDR | skip_trampoline (const frame_info_ptr &fi, CORE_ADDR pc) const |
virtual char * | class_name_from_physname (const char *physname) const |
virtual gdb::unique_xmalloc_ptr< char > | watch_location_expression (struct type *type, CORE_ADDR addr) const |
virtual void | value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) const |
virtual bool | is_array_like (struct type *type) const |
virtual struct value * | to_array (struct value *val) const |
virtual const char * | name_of_this () const |
virtual char | string_lower_bound () const |
virtual bool | store_sym_names_in_linkage_form_p () const |
virtual enum macro_expansion | macro_expansion () const |
virtual const struct lang_varobj_ops * | varobj_ops () const |
Protected Member Functions | |
symbol_name_matcher_ftype * | get_symbol_name_matcher_inner (const lookup_name_info &lookup_name) const override |
Private Member Functions | |
void | f_type_print_varspec_prefix (struct type *type, struct ui_file *stream, int show, int passed_a_ptr) const |
void | f_type_print_varspec_suffix (struct type *type, struct ui_file *stream, int show, int passed_a_ptr, int demangled_args, int arrayprint_recurse_level, bool print_rank_only) const |
void | f_type_print_derivation_info (struct type *type, struct ui_file *stream) const |
void | f_type_print_base (struct type *type, struct ui_file *stream, int show, int level) const |
Static Private Member Functions | |
static const char * | get_encoding (struct type *type) |
Additional Inherited Members | |
![]() | |
enum language | la_language |
![]() | |
static const struct language_defn * | languages [nr_languages] |
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 231 of file f-lang.h.
References array_column_major.
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 226 of file f-lang.h.
References case_sensitive_off.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 121 of file f-lang.h.
References code, and default_collect_symbol_completion_matches_break_on().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 153 of file f-lang.h.
References generic_emit_char(), and get_encoding().
Referenced by printchar().
|
private |
Definition at line 301 of file f-typeprint.c.
References type::arch(), type::bounds(), builtin_f_type(), builtin_f_type::builtin_void, check_typedef(), type::code(), f77_get_upperbound(), f_type_print_base(), f_type_print_derivation_info(), f_type_print_varspec_suffix(), type::field(), fputs_styled(), gdb_printf(), gdb_puts(), range_bounds::high, dynamic_prop::is_constant(), metadata_style, field::name(), type::name(), type::num_fields(), prefix, QUIT, cli_style_option::style(), type::target_type(), field::type(), TYPE_CODE_UNDEF, TYPE_ERROR_NAME, TYPE_IS_ALLOCATABLE, type_print_unknown_return_type(), variable_name_style, and ui_file::wrap_here().
Referenced by f_type_print_base(), and print_type().
|
private |
Definition at line 288 of file f-typeprint.c.
References gdb_printf(), name(), TYPE_BASECLASS, and TYPE_N_BASECLASSES.
Referenced by f_type_print_base().
|
private |
Definition at line 93 of file f-typeprint.c.
References type::code(), f_type_print_varspec_prefix(), gdb_printf(), type::name(), QUIT, type::target_type(), and TYPE_CODE_UNDEF.
Referenced by f_type_print_varspec_prefix(), and print_type().
|
private |
Definition at line 148 of file f-typeprint.c.
References type::arch(), type::bounds(), builtin_f_type::builtin_void, type::code(), f77_get_lowerbound(), f77_get_upperbound(), f_type_print_varspec_suffix(), type::field(), gdb_printf(), gdb_puts(), range_bounds::high, type::is_prototyped(), dynamic_prop::kind(), type::name(), type::num_fields(), print_type(), PROP_UNDEFINED, QUIT, type::target_type(), field::type(), TYPE_ALLOCATED_PROP, TYPE_ASSOCIATED_PROP, TYPE_CODE_UNDEF, TYPE_DATA_LOCATION, type_not_allocated(), type_not_associated(), and ui_file::wrap_here().
Referenced by f_type_print_base(), f_type_print_varspec_suffix(), and print_type().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
staticprivate |
Definition at line 81 of file f-lang.c.
References type::arch(), type::length(), target_charset(), and type_byte_order().
Referenced by emitchar(), and printstr().
|
overrideprotectedvirtual |
Reimplemented from language_defn.
Definition at line 1726 of file f-lang.c.
References cp_get_symbol_name_matcher().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 196 of file f-lang.h.
References check_typedef(), type::code(), and type::target_type().
|
overridevirtual |
Implements language_defn.
Definition at line 1678 of file f-lang.c.
References language_arch_info::add_primitive_type(), builtin_f_type::builtin_character, builtin_f_type::builtin_complex, builtin_f_type::builtin_complex_s8, builtin_f_type(), builtin_f_type::builtin_logical, builtin_f_type::builtin_logical_s1, builtin_f_type::builtin_logical_s2, builtin_f_type::builtin_logical_s8, builtin_f_type::builtin_real, builtin_f_type::builtin_real_s16, builtin_f_type::builtin_real_s8, builtin_f_type::builtin_void, language_arch_info::set_bool_type(), and language_arch_info::set_string_char_type().
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 1716 of file f-lang.c.
References cp_lookup_symbol_nonlocal(), and name.
|
inlineoverridevirtual |
Implements language_defn.
Definition at line 43 of file f-lang.h.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.dap.varref.BaseReference::__init__(), gdb.disassembler.Disassembler::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), f_type_print_derivation_info(), search_name_hash(), and gdb.dap.varref.BaseReference::to_object().
|
inlineoverridevirtual |
Implements language_defn.
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 3601 of file f-exp.c.
References parser_state::debug, last_was_structop, paren_depth, parser_state::pop(), pstate, saw_name_at_eof, expr_builder::set_operation(), yydebug, and yyparse.
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 1664 of file f-lang.c.
References gdb_printf(), value_from_longest(), and language_defn::value_print().
|
overridevirtual |
Implements language_defn.
Definition at line 49 of file f-typeprint.c.
References code, type::code(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), gdb_puts(), type::name(), and type::target_type().
Referenced by f_type_print_varspec_suffix(), and print_typedef().
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 39 of file f-typeprint.c.
References check_typedef(), print_type(), and type_print_raw_options.
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 162 of file f-lang.h.
References emitchar(), and gdb_puts().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 172 of file f-lang.h.
References gdb_puts(), generic_printstr(), get_encoding(), and type::length().
Referenced by value_print_inner().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 1708 of file f-lang.c.
References cp_search_name_hash(), and name().
|
inlineoverridevirtual |
Reimplemented from language_defn.
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 453 of file f-valprint.c.
References value::address, value_print_options::addressprint, type::arch(), block_symbol::block, check_typedef(), type::code(), common_val_print(), value::contents_for_printing(), current_language, demangle, f77_get_dynamic_length_of_aggregate(), f_decorations, generic_val_print_decorations::false_name, type::field(), field_name(), value_print_options::format, fortran_print_array(), fputs_styled(), gdb_printf(), gdb_puts(), generic_value_print(), get_selected_block(), type::length(), lookup_symbol(), field::name(), type::num_fields(), value_print_options::output_format, paddress(), print_address_demangle(), print_function_pointer_address(), printstr(), cli_style_option::style(), block_symbol::symbol, value_print_options::symbol_print, type::target_type(), generic_val_print_decorations::true_name, field::type(), value::type(), TYPE_CODE_UNDEF, unpack_pointer(), val_print_string(), value_as_long(), value_field(), value_of_variable(), value_print_scalar_formatted(), VAR_DOMAIN, and variable_name_style.
|
overridevirtual |
Reimplemented from language_defn.
Definition at line 107 of file f-lang.c.
References language_string_char_type().
|
inlineoverridevirtual |
Reimplemented from language_defn.
Definition at line 97 of file f-lang.h.
References language_defn::word_break_characters().