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')
141 struct type *unresolved_elttype,
142 const gdb_byte *valaddr,
int embedded_offset,
184 && (msymbol.
minsym != NULL)
197 struct value *vt_val;
198 struct symbol *wsym = NULL;
205 if (msymbol.
minsym != NULL)
207 const char *search_name
219 wtype = unresolved_elttype;
221 vt_val =
value_at (wtype, vt_address);
238 struct ui_file *stream,
int recurse,
239 struct value *original_value,
256 error (
_(
"Could not determine the array high bound"));
259 len = high_bound - low_bound + 1;
275 int force_ellipses = 0;
281 unsigned int temp_len;
287 + embedded_offset * unit_size
296 if (temp_len == options->
print_max && temp_len < len)
300 + embedded_offset * unit_size
311 valaddr + embedded_offset * unit_size, len,
312 NULL, force_ellipses, options);
333 recurse, original_value, options, i);
341 embedded_offset, address + embedded_offset,
342 stream, recurse, options);
350 int embedded_offset,
struct ui_file *stream,
int recurse,
351 struct value *original_value,
360 original_value, options, 0, stream);
379 valaddr + embedded_offset * unit_size);
382 embedded_offset, addr, stream, recurse, options);
391 struct ui_file *stream,
int recurse,
392 struct value *original_value,
402 int offset = (embedded_offset
412 embedded_offset, address,
414 original_value, options,
423 struct ui_file *stream,
int recurse,
424 struct value *original_value,
434 recurse, original_value, options);
442 const gdb_byte *valaddr,
int embedded_offset,
456 original_value, &opts, 0, stream);
461 original_value, options, 0, stream);
470 valaddr + embedded_offset * unit_size),
471 unresolved_type, stream);
481 struct ui_file *stream,
int recurse,
482 struct value *original_value,
502 struct ui_file *stream,
int recurse,
503 struct value *original_value,
506 struct type *unresolved_type =
type;
514 recurse, original_value, options);
523 original_value, options);
528 recurse, original_value, options);
533 recurse, original_value, options);
538 original_value, options);
543 recurse, original_value, options);
563 stream, recurse, original_value, options,
574 struct type *
type, *real_type, *val_type;
673 full, top, using_enc);
676 full ?
"" :
_(
" [incomplete object]"));
struct block_symbol lookup_symbol_search_name(const char *search_name, const struct block *block, domain_enum domain)
struct type * value_rtti_type(struct value *v, int *full, LONGEST *top, int *using_enc)
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 *)
static void c_val_print_union(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
static const struct generic_val_print_decorations c_decorations
CORE_ADDR unpack_pointer(struct type *type, const gdb_byte *valaddr)
#define BMSYMBOL_VALUE_ADDRESS(symbol)
LONGEST value_embedded_offset(const struct value *value)
int cp_is_vtbl_member(struct type *)
#define TYPE_NAME(thistype)
struct type * value_enclosing_type(const struct value *value)
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 cp_print_class_member(const gdb_byte *, struct type *, struct ui_file *, const char *)
void type_print(struct type *type, const char *varstring, struct ui_file *stream, int show)
struct value * value_ind(struct value *arg1)
void cp_print_value_fields_rtti(struct type *, const gdb_byte *, LONGEST, CORE_ADDR, struct ui_file *, int, struct value *, const struct value_print_options *, struct type **, int)
const gdb_byte * value_contents_for_printing(struct value *value)
int value_bytes_available(const struct value *value, LONGEST offset, LONGEST length)
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)
#define TYPE_IS_REFERENCE(t)
int gdbarch_addressable_memory_unit_size(struct gdbarch *gdbarch)
#define MSYMBOL_PRINT_NAME(symbol)
void val_print_scalar_formatted(struct type *type, LONGEST embedded_offset, struct value *val, const struct value_print_options *options, int size, struct ui_file *stream)
struct type * check_typedef(struct type *type)
void c_val_print(struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
int c_textual_element_type(struct type *type, char format)
void fprintf_filtered(struct ui_file *stream, const char *format,...)
static ULONGEST extract_unsigned_integer(const gdb_byte *addr, int len, enum bfd_endian byte_order)
void fputs_filtered(const char *linebuffer, struct ui_file *stream)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
#define MSYMBOL_SEARCH_NAME(symbol)
struct gdbarch * get_type_arch(const struct type *type)
int value_initialized(const struct value *val)
static void print_unpacked_pointer(struct type *type, struct type *elttype, struct type *unresolved_elttype, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value_print_options *options)
static void c_val_print_int(struct type *type, struct type *unresolved_type, const gdb_byte *valaddr, int embedded_offset, struct ui_file *stream, struct value *original_value, const struct value_print_options *options)
static void c_val_print_array(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
static void c_val_print_memberptr(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
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)
struct value * value_ref(struct value *arg1, enum type_code refcode)
#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)
static void c_val_print_struct(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
void generic_val_print(struct type *type, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options, const struct generic_val_print_decorations *decorations)
#define TYPE_CODE(thistype)
void cplus_print_method_ptr(const gdb_byte *contents, struct type *type, struct ui_file *stream)
struct minimal_symbol * minsym
int print_address_demangle(const struct value_print_options *opts, struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle)
void val_print(struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options, const struct language_defn *language)
unsigned long long ULONGEST
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)
void val_print_array_elements(struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options, unsigned int i)
CORE_ADDR value_address(const struct value *value)
int get_array_bounds(struct type *type, LONGEST *low_bound, LONGEST *high_bound)
enum bfd_endian byte_order
static void c_val_print_ptr(struct type *type, const gdb_byte *valaddr, int embedded_offset, struct ui_file *stream, int recurse, struct value *original_value, const struct value_print_options *options)
void error(const char *fmt,...)
struct type * value_rtti_indirect_type(struct value *v, int *full, LONGEST *top, int *using_enc)
static int textual_name(const char *name)