GDB (xrefs)

Public Attributes | List of all members
language_defn Struct Reference

`#include "language.h"`

## Public Attributes
const char * | la_name
const char * | la_natural_name
enum language | la_language
enum range_check | la_range_check
enum case_sensitivity | la_case_sensitivity
enum array_ordering | la_array_ordering
enum macro_expansion | la_macro_expansion
const char *const * | la_filename_extensions
const struct exp_descriptor * | la_exp_desc
int(* | la_parser )(struct parser_state *)
void(* | la_error )(const char *)
void(* | la_post_parser )(expression_up *expp, int void_context_p)
void(* | la_printchar )(int ch, struct type *chtype, struct ui_file *stream)
void(* | la_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 *)
void(* | la_emitchar )(int ch, struct type *chtype, struct ui_file *stream, int quoter)
void(* | la_print_type )(struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *)
void(* | la_print_typedef )(struct type *type, struct symbol *new_symbol, struct ui_file *stream)
void(* | la_val_print )(struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options)
void(* | la_value_print )(struct value *, struct ui_file *, const struct value_print_options *)
struct value *(* | la_read_var_value )(struct symbol *var, const struct block *var_block, struct frame_info *frame)
CORE_ADDR(* | skip_trampoline )(struct frame_info *, CORE_ADDR)
const char * | la_name_of_this
struct block_symbol(* | la_lookup_symbol_nonlocal )(const struct language_defn *, const char *, const struct block *, const domain_enum)
struct type *(* | la_lookup_transparent_type )(const char *)
char *(* | la_demangle )(const char *mangled, int options)
int(* | la_sniff_from_mangled_name )(const char *mangled, char **demangled)
char *(* | la_class_name_from_physname )(const char *physname)
const struct op_print * | la_op_print_tab
char | c_style_arrays
char | string_lower_bound
const char *(* | la_word_break_characters )(void)
void(* | la_collect_symbol_completion_matches )(completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type match_type, const char *text, const char *word, enum type_code code)
void(* | la_language_arch_info )(struct gdbarch *, struct language_arch_info *)
void(* | la_print_array_index )(struct value *index_value, struct ui_file *stream, const struct value_print_options *options)
int(* | la_pass_by_reference )(struct type *type)
void(* | la_get_string )(struct value *value, gdb_byte **buffer, int *length, struct type **chartype, const char **charset)
gdb::unique_xmalloc_ptr< char >(* | la_watch_location_expression )(struct type *type, CORE_ADDR addr)
symbol_name_matcher_ftype *(* | la_get_symbol_name_matcher )(const lookup_name_info &)
void(* | la_iterate_over_symbols )(const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback)
unsigned int(* | la_search_name_hash )(const char *name)
const struct lang_varobj_ops * | la_varobj_ops
struct compile_instance *(* | la_get_compile_instance )(void)
std::string(* | la_compute_program )(struct compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc)
long | la_magic

## Detailed Description

Definition at line 132 of file language.h.

## Member Data Documentation

## ◆ c_style_arrays

char language_defn::c_style_arrays

Definition at line 309 of file language.h.

Referenced by coerce_array(), ptrmath_type_p(), value_arg_coerce(), value_array(), value_cast(), and value_subscript().

## ◆ la_array_ordering

enum array_ordering language_defn::la_array_ordering

Definition at line 154 of file language.h.

Referenced by read_array_order().

## ◆ la_case_sensitivity

enum case_sensitivity language_defn::la_case_sensitivity

Definition at line 151 of file language.h.

Referenced by set_case_command(), set_range_case(), and show_case_command().

## ◆ la_class_name_from_physname

char*(* language_defn::la_class_name_from_physname) (const char *physname)

Definition at line 300 of file language.h.

Referenced by language_class_name_from_physname().

## ◆ la_collect_symbol_completion_matches

void(* language_defn::la_collect_symbol_completion_matches) (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type match_type, const char *text, const char *word, enum type_code code)

Definition at line 323 of file language.h.

Referenced by collect_symbol_completion_matches(), and collect_symbol_completion_matches_type().

## ◆ la_compute_program

std::string(* language_defn::la_compute_program) (struct compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc)

Definition at line 425 of file language.h.

Referenced by compile_to_object().

## ◆ la_demangle

char*(* language_defn::la_demangle) (const char *mangled, int options)

Definition at line 281 of file language.h.

Referenced by language_demangle().

## ◆ la_emitchar

void(* language_defn::la_emitchar) (int ch, struct type *chtype, struct ui_file *stream, int quoter)

Definition at line 195 of file language.h.

## ◆ la_error

void(* language_defn::la_error) (const char *)

Definition at line 177 of file language.h.

Referenced by parse_exp_in_context_1().

## ◆ la_exp_desc

const struct exp_descriptor* language_defn::la_exp_desc

Definition at line 169 of file language.h.

Referenced by dump_subexp_body(), evaluate_subexp(), exp_iterate(), op_name(), operator_length(), and print_subexp().

## ◆ la_filename_extensions

const char* const* language_defn::la_filename_extensions

Definition at line 164 of file language.h.

## ◆ la_get_compile_instance

struct compile_instance*(* language_defn::la_get_compile_instance) (void)

Definition at line 409 of file language.h.

Referenced by compile_to_object().

## ◆ la_get_string

void(* language_defn::la_get_string) (struct value *value, gdb_byte **buffer, int *length, struct type **chartype, const char **charset)

Definition at line 353 of file language.h.

## ◆ la_get_symbol_name_matcher

symbol_name_matcher_ftype*(* language_defn::la_get_symbol_name_matcher) (const lookup_name_info &)

Definition at line 373 of file language.h.

Referenced by get_symbol_name_matcher().

## ◆ la_iterate_over_symbols

void(* language_defn::la_iterate_over_symbols) (const struct block *block, const lookup_name_info &name, domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback)

Definition at line 389 of file language.h.

Referenced by iterate_over_all_matching_symtabs().

## ◆ la_language

enum language language_defn::la_language

Definition at line 144 of file language.h.

Referenced by c_type_print_base_1(), c_type_print_varspec_suffix(), check_frame_language_change(), cp_print_value_fields(), cp_type_print_method_args(), evaluate_funcall(), evaluate_subexp(), evaluate_subexp_for_sizeof(), find_slot_in_mapped_hash(), dw2_debug_names_iterator::find_vec_in_debug_names(), get_current_search_block(), get_symbol_name_matcher(), info_address_command(), init_raw_breakpoint_without_location(), iter_match_first_hashed(), language_bool_type(), language_init_primitive_type_symbols(), language_lookup_primitive_type(), language_lookup_primitive_type_as_symbol(), language_search_unquoted_string(), language_string_char_type(), linkage_name_str(), lookup_symbol(), lookup_symbol_in_objfile_from_linkage_name(), m2_print_array_contents(), m2_val_print(), parse_exp_in_context_1(), parse_expression_with_language(), print_subexp_standard(), psymtab_search_name(), resolve_dynamic_struct(), select_frame(), set_language(), show_language_command(), tic6x_return_value(), value_arg_coerce(), value_user_defined_op(), and whatis_exp().

## ◆ la_language_arch_info

void(* language_defn::la_language_arch_info) (struct gdbarch *, struct language_arch_info *)

Definition at line 331 of file language.h.

## ◆ la_lookup_symbol_nonlocal

struct block_symbol(* language_defn::la_lookup_symbol_nonlocal) (const struct language_defn *, const char *, const struct block *, const domain_enum)

Definition at line 272 of file language.h.

Referenced by lookup_symbol_aux().

## ◆ la_lookup_transparent_type

struct type*(* language_defn::la_lookup_transparent_type) (const char *)

Definition at line 278 of file language.h.

Referenced by lookup_transparent_type().

## ◆ la_macro_expansion

enum macro_expansion language_defn::la_macro_expansion

Definition at line 157 of file language.h.

Referenced by default_collect_symbol_completion_matches_break_on().

## ◆ la_magic

long language_defn::la_magic

Definition at line 434 of file language.h.

## ◆ la_name

const char* language_defn::la_name

Definition at line 136 of file language.h.

Referenced by add_set_language_command(), compile_to_object(), dump_prefix_expression(), dump_raw_expression(), language_lookup_primitive_type_as_symbol(), language_str(), print_subexp_standard(), and show_language_command().

## ◆ la_name_of_this

const char* language_defn::la_name_of_this

Definition at line 265 of file language.h.

Referenced by gen_expr(), lookup_symbol_aux(), print_subexp_standard(), and value_of_this().

## ◆ la_natural_name

const char* language_defn::la_natural_name

Definition at line 140 of file language.h.

Referenced by mi_cmd_var_info_expression().

## ◆ la_op_print_tab

const struct op_print* language_defn::la_op_print_tab

Definition at line 304 of file language.h.

Referenced by op_string(), and print_subexp_standard().

## ◆ la_parser

int(* language_defn::la_parser) (struct parser_state *)

Definition at line 173 of file language.h.

Referenced by parse_exp_in_context_1().

## ◆ la_pass_by_reference

int(* language_defn::la_pass_by_reference) (struct type *type)

Definition at line 341 of file language.h.

Referenced by language_pass_by_reference().

## ◆ la_post_parser

void(* language_defn::la_post_parser) (expression_up *expp, int void_context_p)

Definition at line 185 of file language.h.

Referenced by parse_exp_in_context_1().

## ◆ la_print_array_index

void(* language_defn::la_print_array_index) (struct value *index_value, struct ui_file *stream, const struct value_print_options *options)

Definition at line 335 of file language.h.

## ◆ la_print_type

void(* language_defn::la_print_type) (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *)

Definition at line 200 of file language.h.

## ◆ la_print_typedef

void(* language_defn::la_print_typedef) (struct type *type, struct symbol *new_symbol, struct ui_file *stream)

Definition at line 207 of file language.h.

## ◆ la_printchar

void(* language_defn::la_printchar) (int ch, struct type *chtype, struct ui_file *stream)

Definition at line 187 of file language.h.

## ◆ la_printstr

void(* language_defn::la_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 *)

Definition at line 190 of file language.h.

## ◆ la_range_check

enum range_check language_defn::la_range_check

Definition at line 148 of file language.h.

Referenced by set_range_case(), set_range_command(), and show_range_command().

## ◆ la_read_var_value

struct value*(* language_defn::la_read_var_value) (struct symbol *var, const struct block *var_block, struct frame_info *frame)

Definition at line 250 of file language.h.

Referenced by read_var_value().

## ◆ la_search_name_hash

unsigned int(* language_defn::la_search_name_hash) (const char *name)

Definition at line 396 of file language.h.

Referenced by search_name_hash().

## ◆ la_sniff_from_mangled_name

int(* language_defn::la_sniff_from_mangled_name) (const char *mangled, char **demangled)

Definition at line 297 of file language.h.

Referenced by language_sniff_from_mangled_name().

## ◆ la_val_print

void(* language_defn::la_val_print) (struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options)

Definition at line 228 of file language.h.

## ◆ la_value_print

void(* language_defn::la_value_print) (struct value *, struct ui_file *, const struct value_print_options *)

Definition at line 236 of file language.h.

## ◆ la_varobj_ops

const struct lang_varobj_ops* language_defn::la_varobj_ops

Definition at line 399 of file language.h.

## ◆ la_watch_location_expression

gdb::unique_xmalloc_ptr<char>(* language_defn::la_watch_location_expression) (struct type *type, CORE_ADDR addr)

Definition at line 360 of file language.h.

Referenced by watch_command_1().

## ◆ la_word_break_characters

const char*(* language_defn::la_word_break_characters) (void)

Definition at line 315 of file language.h.

Referenced by advance_to_expression_complete_word_point(), complete_files_symbols(), complete_line_internal_1(), default_completer_handle_brkchars(), and skip_quoted_chars().

## ◆ skip_trampoline

CORE_ADDR(* language_defn::skip_trampoline) (struct frame_info *, CORE_ADDR)

Definition at line 258 of file language.h.

## ◆ string_lower_bound

char language_defn::string_lower_bound

Definition at line 312 of file language.h.

Referenced by allocate_repeat_value(), value_cstring(), and value_string().

The documentation for this struct was generated from the following file:

- /tmp/gdb-8.1/gdb/language.h