GDB (xrefs)
|
#include "compile/compile.h"
#include "value.h"
#include "macroexp.h"
#include "gdbsupport/enum-flags.h"
Go to the source code of this file.
Enumerations | |
enum | c_string_type_values : unsigned { C_STRING = 0 , C_WIDE_STRING = 1 , C_STRING_16 = 2 , C_STRING_32 = 3 , C_CHAR = 4 , C_WIDE_CHAR = 5 , C_CHAR_16 = 6 , C_CHAR_32 = 7 } |
Functions | |
DEF_ENUM_FLAGS_TYPE (enum c_string_type_values, c_string_type) | |
int | c_parse (struct parser_state *) |
int | c_parse_escape (const char **, struct obstack *) |
void | c_print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, enum language language, const struct type_print_options *flags) |
void | c_print_typedef (struct type *, struct symbol *, struct ui_file *) |
void | c_value_print_inner (struct value *, struct ui_file *, int, const struct value_print_options *) |
void | c_value_print (struct value *, struct ui_file *, const struct value_print_options *) |
void | c_printchar (int, struct type *, struct ui_file *) |
void | c_language_arch_info (struct gdbarch *gdbarch, struct language_arch_info *lai) |
void | c_type_print_base (struct type *, struct ui_file *, int, int, const struct type_print_options *) |
void | cp_print_class_member (const gdb_byte *, struct type *, struct ui_file *, const char *) |
void | cp_print_value_fields (struct value *, struct ui_file *, int, const struct value_print_options *, struct type **, int) |
int | cp_is_vtbl_ptr_type (struct type *) |
int | cp_is_vtbl_member (struct type *) |
bool | c_is_string_type_p (struct type *type) |
int | c_textual_element_type (struct type *, char) |
std::unique_ptr< compile_instance > | c_get_compile_context () |
std::unique_ptr< compile_instance > | cplus_get_compile_context () |
std::string | c_compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) |
std::string | cplus_compute_program (compile_instance *inst, const char *input, struct gdbarch *gdbarch, const struct block *expr_block, CORE_ADDR expr_pc) |
gdb::unique_xmalloc_ptr< char > | c_canonicalize_name (const char *name) |
Variables | |
const char | vtbl_ptr_name [] |
enum c_string_type_values : unsigned |
|
extern |
Definition at line 727 of file c-lang.c.
References cp_canonicalize_string(), and name.
Referenced by define_symbol(), cooked_index_shard::do_finalize(), dwarf2_canonicalize_name(), read_dbx_symtab(), and read_type().
|
extern |
Definition at line 666 of file compile-c-support.c.
Referenced by c_language::compute_program().
|
extern |
Definition at line 127 of file compile-c-support.c.
References get_compile_context().
Referenced by c_language::get_compile_instance().
|
extern |
Definition at line 689 of file c-lang.c.
References c_textual_element_type(), check_typedef(), type::code(), type::length(), and type::target_type().
Referenced by language_defn::is_string_type_p(), printf_c_string(), and printf_wide_c_string().
|
extern |
Definition at line 739 of file c-lang.c.
References language_arch_info::add_primitive_type(), builtin_type::builtin_char, builtin_type::builtin_complex, builtin_type::builtin_decdouble, builtin_type::builtin_decfloat, builtin_type::builtin_declong, builtin_type::builtin_double, builtin_type::builtin_double_complex, builtin_type::builtin_float, builtin_type::builtin_int, builtin_type::builtin_long, builtin_type::builtin_long_double, builtin_type::builtin_long_long, builtin_type::builtin_short, builtin_type::builtin_signed_char, builtin_type(), builtin_type::builtin_unsigned_char, builtin_type::builtin_unsigned_int, builtin_type::builtin_unsigned_long, builtin_type::builtin_unsigned_long_long, builtin_type::builtin_unsigned_short, builtin_type::builtin_void, language_arch_info::set_bool_type(), and language_arch_info::set_string_char_type().
Referenced by c_language::language_arch_info(), asm_language::language_arch_info(), minimal_language::language_arch_info(), and objc_language::language_arch_info().
|
extern |
Definition at line 6061 of file c-exp.c.
References cpstate, parser_state::debug, default_macro_scope(), parser_state::expression_context_block, parser_state::expression_context_pc, expression_macro_scope, find_pc_line(), last_was_structop, name_obstack, paren_depth, parser_state::pop(), popping, pstate, sal_macro_scope(), saw_name_at_eof, expr_builder::set_operation(), token_fifo, user_macro_scope(), yydebug, and yyparse().
Referenced by language_defn::parser().
|
extern |
Definition at line 4852 of file c-exp.c.
References HOST_ESCAPE_CHAR.
Referenced by get_character_constant(), get_string_literal(), parse_string_or_char(), parse_string_or_char(), and parse_string_or_char().
|
extern |
Definition at line 169 of file c-typeprint.c.
References c_print_type_1(), and flags.
Referenced by ada_print_type(), c_type_print_args(), c_type_print_template_args(), cp_type_print_method_args(), gnuv3_print_method_ptr(), c_language::print_type(), cplus_language::print_type(), asm_language::print_type(), minimal_language::print_type(), d_language::print_type(), go_language::print_type(), objc_language::print_type(), opencl_language::print_type(), rust_internal_print_type(), rust_print_struct_def(), and yyparse().
|
extern |
Definition at line 187 of file c-typeprint.c.
References check_typedef(), type::code(), gdb_printf(), general_symbol_info::linkage_name(), new_symbol(), general_symbol_info::print_name(), symbol::type(), and type_print().
Referenced by language_defn::print_typedef().
|
extern |
Definition at line 57 of file c-valprint.c.
References check_typedef(), type::code(), type::length(), type::name(), type::target_type(), textual_name(), type, and TYPE_NOTTEXT.
Referenced by c_get_string(), c_is_string_type_p(), c_value_print_array(), c_value_print_int(), gen_traced_pop(), and print_unpacked_pointer().
|
extern |
Definition at line 1657 of file c-typeprint.c.
References c_type_print_base_1(), current_language, flags, and language_defn::la_language.
Referenced by cp_print_class_member().
|
extern |
Definition at line 472 of file c-valprint.c.
References check_typedef(), type::code(), common_val_print(), current_language, value::enclosing_type(), value::entirely_available(), gdb_printf(), value::initialized(), type::is_pointer_or_reference(), type::length(), type::name(), value_print_options::objectprint, type::target_type(), textual_name(), type, value::type(), TYPE_CODE_UNDEF, TYPE_IS_REFERENCE, type_print(), value_addr(), value_as_address(), value_cast(), value_from_pointer(), value_full_object(), value_ind(), value_ref(), value_rtti_indirect_type(), and value_rtti_type().
Referenced by language_defn::value_print().
|
extern |
Definition at line 422 of file c-valprint.c.
References c_decorations, c_value_print_array(), c_value_print_int(), c_value_print_ptr(), c_value_print_struct(), check_typedef(), type::code(), generic_value_print(), value::type(), and TYPE_CODE_UNDEF.
Referenced by d_value_print_inner(), language_defn::value_print_inner(), and go_language::value_print_inner().
|
extern |
Definition at line 75 of file cp-valprint.c.
References type::code(), cp_is_vtbl_ptr_type(), and type::target_type().
Referenced by print_unpacked_pointer().
|
extern |
Definition at line 64 of file cp-valprint.c.
References type::name(), and vtbl_ptr_name.
Referenced by c_value_print_array(), c_value_print_ptr(), c_value_print_struct(), and cp_is_vtbl_member().
|
extern |
Definition at line 684 of file cp-valprint.c.
References c_type_print_base(), cp_find_class_member(), extract_signed_integer(), type::field(), fputs_styled(), gdb_printf(), gdb_puts(), type::length(), name, field::name(), type::name(), prefix, cli_style_option::style(), type_byte_order(), type_print_raw_options, TYPE_SELF_TYPE, and variable_name_style.
Referenced by generic_value_print_memberptr().
|
extern |
Definition at line 123 of file cp-valprint.c.
References annotate_field_begin(), annotate_field_end(), annotate_field_name_end(), annotate_field_value(), type::arch(), value::bits_synthetic_pointer(), field::bitsize(), check_typedef(), common_val_print(), value::contents_for_printing(), cp_print_static_field(), cp_print_value(), current_language, dont_print_stat_array_obstack, dont_print_statmem_obstack, value::embedded_offset(), extract_typed_address(), type::field(), fprintf_styled(), fprintf_symbol(), fputs_styled(), gdb_printf(), gdb_puts(), get_vptr_fieldno(), field::is_packed(), field::is_static(), language_defn::la_language, field::loc_bitpos(), metadata_style, field::name(), type::name(), type::num_fields(), value_print_options::prettyformat, value::primitive_field(), print_function_pointer_address(), print_spaces(), value_print_options::static_field_print, cli_style_option::style(), field::type(), value::type(), TYPE_FIELD_IGNORE, TYPE_N_BASECLASSES, valprint_check_validity(), value_field_bitfield(), value_static_field(), variable_name_style, and ui_file::wrap_here().
Referenced by c_value_print_struct(), cp_print_value_fields_pp(), and m2_language::value_print_inner().
|
extern |
Definition at line 681 of file compile-c-support.c.
Referenced by cplus_language::compute_program().
|
extern |
Definition at line 139 of file compile-c-support.c.
References get_compile_context().
Referenced by cplus_language::get_compile_instance().
DEF_ENUM_FLAGS_TYPE | ( | enum | c_string_type_values, |
c_string_type | ) |
|
extern |
Definition at line 58 of file cp-valprint.c.
Referenced by cp_is_vtbl_ptr_type(), and define_symbol().