41 LONGEST embedded_offset, CORE_ADDR address,
42 struct ui_file *stream,
int recurse,
60 error (_(
"Unable to read string address"));
64 error (_(
"Unable to read string length"));
98 case TYPE_CODE_STRUCT:
109 stream, recurse, val, options);
void c_value_print_inner(struct value *, struct ui_file *, int, const struct value_print_options *)
ui_file_style style() const
void value_print_inner(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override
cli_style_option metadata_style
struct type * check_typedef(struct type *type)
enum go_type go_classify_struct_type(struct type *type)
static void print_go_string(struct type *type, LONGEST embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, struct value *val, const struct value_print_options *options)
struct type * type() const
struct type * target_type() const
struct field & field(int idx) const
LONGEST embedded_offset() const
struct type * type() const
gdb::array_view< const gdb_byte > contents_for_printing()
static styled_string_s * styled_string(const ui_file_style &style, const char *str, styled_string_s &&tmp={})
const char * paddress(struct gdbarch *gdbarch, CORE_ADDR addr)
void gdb_printf(struct ui_file *stream, const char *format,...)
void gdb_puts(const char *linebuffer, struct ui_file *stream)
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)
int unpack_value_field_as_long(struct type *type, const gdb_byte *valaddr, LONGEST embedded_offset, int fieldno, const struct value *val, LONGEST *result)