40 return (!strcmp (name,
"wchar_t")
41 || !strcmp (name,
"char16_t")
42 || !strcmp (name,
"char32_t"));
59 struct type *true_type, *iter_type;
61 if (format != 0 && format !=
's')
136 struct ui_file *stream,
int recurse,
137 const struct value *original_value,
144 struct type *elttype, *unresolved_elttype;
145 struct type *unresolved_type =
type;
160 error (
_(
"Could not determine the array high bound"));
163 len = high_bound - low_bound + 1;
179 int force_ellipses = 0;
185 unsigned int temp_len;
192 eltlen, byte_order) != 0);
199 if (temp_len == options->
print_max && temp_len < len)
213 valaddr + embedded_offset, len,
214 NULL, force_ellipses, options);
235 recurse, original_value, options, i);
242 addr = address + embedded_offset;
253 original_value, options, 0, stream);
318 && (msymbol.
minsym != NULL)
331 struct value *vt_val;
340 if (msymbol.
minsym != NULL)
351 wtype = unresolved_elttype;
353 vt_val =
value_at (wtype, vt_address);
382 int offset = (embedded_offset
394 embedded_offset, address,
396 original_value, options,
408 original_value, &opts, 0, stream);
422 unresolved_type, stream);
451 stream, recurse, original_value, options,
462 struct type *
type, *real_type, *val_type;
463 int full, top, using_enc;
556 full, top, using_enc);
559 full ?
"" :
_(
" [incomplete object]"));
void generic_val_print(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options, const struct generic_val_print_decorations *decorations)
void val_print_scalar_formatted(struct type *type, const gdb_byte *valaddr, int embedded_offset, const struct value *val, const struct value_print_options *options, int size, struct ui_file *stream)
ULONGEST extract_unsigned_integer(const gdb_byte *, int, enum bfd_endian)
void cp_print_value_fields_rtti(struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *, struct type **, int)
CORE_ADDR extract_typed_address(const gdb_byte *buf, struct type *type)
struct value * value_addr(struct value *arg1)
int cp_is_vtbl_ptr_type(struct type *)
#define MSYMBOL_LINKAGE_NAME(symbol)
struct value * value_ref(struct value *arg1)
CORE_ADDR unpack_pointer(struct type *type, const gdb_byte *valaddr)
#define BMSYMBOL_VALUE_ADDRESS(symbol)
int cp_is_vtbl_member(struct type *)
#define TYPE_NAME(thistype)
struct value * value_at(struct type *type, CORE_ADDR addr)
void common_val_print(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options, const struct language_defn *language)
void val_print_type_code_int(struct type *type, const gdb_byte *valaddr, struct ui_file *stream)
static int print_unpacked_pointer(struct type *type, CORE_ADDR address, CORE_ADDR addr, const struct value_print_options *options, struct ui_file *stream)
void type_print(struct type *type, const char *varstring, struct ui_file *stream, int show)
struct value * value_ind(struct value *arg1)
const gdb_byte * value_contents_for_printing(struct value *value)
int value_bits_any_optimized_out(const struct value *value, int bit_offset, int bit_length)
#define TYPE_FIELD_TYPE(thistype, n)
enum val_prettyformat prettyformat
const char * paddress(struct gdbarch *gdbarch, CORE_ADDR addr)
void cp_print_class_member(const gdb_byte *, struct type *, struct ui_file *, char *)
#define MSYMBOL_PRINT_NAME(symbol)
struct type * check_typedef(struct type *type)
int c_textual_element_type(struct type *type, char format)
void fprintf_filtered(struct ui_file *stream, const char *format,...)
void val_print_array_elements(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, unsigned int i)
void fputs_filtered(const char *linebuffer, struct ui_file *stream)
struct type * value_enclosing_type(struct value *value)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
struct gdbarch * get_type_arch(const struct type *type)
int value_initialized(struct value *val)
struct type * value_rtti_indirect_type(struct value *v, int *full, int *top, int *using_enc)
struct value * value_full_object(struct value *argp, struct type *rtype, int xfull, int xtop, int xusing_enc)
LONGEST unpack_long(struct type *type, const gdb_byte *valaddr)
#define TYPE_FIELD_BITPOS(thistype, n)
#define VTBL_FNADDR_OFFSET
void print_spaces_filtered(int n, struct ui_file *stream)
int value_entirely_available(struct value *value)
struct value * value_from_pointer(struct type *type, CORE_ADDR addr)
const struct language_defn * current_language
#define TYPE_TARGET_TYPE(thistype)
struct bound_minimal_symbol lookup_minimal_symbol_by_pc(CORE_ADDR pc)
void c_value_print(struct value *val, struct ui_file *stream, const struct value_print_options *options)
#define TYPE_CODE(thistype)
void cplus_print_method_ptr(const gdb_byte *contents, struct type *type, struct ui_file *stream)
struct minimal_symbol * minsym
struct symbol * lookup_symbol(const char *name, const struct block *block, domain_enum domain, struct field_of_this_result *is_a_field_of_this)
struct type * value_rtti_type(struct value *v, int *full, int *top, int *using_enc)
int value_bytes_available(const struct value *value, int offset, int length)
int print_address_demangle(const struct value_print_options *opts, struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle)
#define CHECK_TYPEDEF(TYPE)
unsigned long long ULONGEST
int value_embedded_offset(struct value *value)
struct type * value_type(const struct value *value)
#define SYMBOL_TYPE(symbol)
CORE_ADDR value_as_address(struct value *val)
#define LA_PRINT_STRING(stream, elttype, string, length, encoding, force_ellipses, options)
#define TYPE_LENGTH(thistype)
int val_print_string(struct type *elttype, const char *encoding, CORE_ADDR addr, int len, struct ui_file *stream, const struct value_print_options *options)
#define LA_PRINT_CHAR(ch, type, stream)
void print_function_pointer_address(const struct value_print_options *options, struct gdbarch *gdbarch, CORE_ADDR address, struct ui_file *stream)
void gdb_flush(struct ui_file *file)
CORE_ADDR value_address(const struct value *value)
void c_val_print(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options)
int get_array_bounds(struct type *type, LONGEST *low_bound, LONGEST *high_bound)
enum bfd_endian byte_order
void val_print(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, const struct language_defn *language)
void error(const char *fmt,...)
const ULONGEST const LONGEST len
static int textual_name(const char *name)