54 struct type *usize_type);
71 const char *
name ()
const override
88 static const std::vector<const char *> extensions = {
".rs" };
100 (
const char *mangled, gdb::unique_xmalloc_ptr<char> *demangled)
103 demangled->reset (rust_demangle (mangled, 0));
104 return *demangled != NULL;
110 int options)
const override
112 return gdb::unique_xmalloc_ptr<char> (rust_demangle (mangled, options));
125 struct ui_file *stream,
int show,
int level,
131 (
struct type *
type, CORE_ADDR addr)
const override
135 return xstrprintf (
"*(%s as *mut %s)", core_addr_to_string (addr),
142 (
struct value *val,
struct ui_file *stream,
int recurse,
163 struct ui_file *stream,
int quoter)
const override;
168 struct ui_file *stream)
const override
171 emitchar (ch, chtype, stream,
'\'');
178 const gdb_byte *
string,
unsigned int length,
179 const char *encoding,
int force_ellipses,
185 struct ui_file *stream)
const override
void printchar(int ch, struct type *chtype, struct ui_file *stream) const override
struct block_symbol lookup_symbol_nonlocal(const char *name, const struct block *block, const domain_enum domain) const override
const char * get_digit_separator() const override
struct value * to_array(struct value *val) const override
const char * natural_name() const override
const std::vector< const char * > & filename_extensions() const override
bool sniff_from_mangled_name(const char *mangled, gdb::unique_xmalloc_ptr< char > *demangled) const override
const char * name() const override
gdb::unique_xmalloc_ptr< char > watch_location_expression(struct type *type, CORE_ADDR addr) const override
int parser(struct parser_state *ps) const override
bool range_checking_on_by_default() const override
void language_arch_info(struct gdbarch *gdbarch, struct language_arch_info *lai) const override
void print_enum(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const
void value_print(struct value *val, struct ui_file *stream, const struct value_print_options *options) const override
bool is_array_like(struct type *type) const override
void 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 *options) const override
void value_print_inner(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override
void print_type(struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags) const override
bool is_string_type_p(struct type *type) const override
void print_typedef(struct type *type, struct symbol *new_symbol, struct ui_file *stream) const override
void emitchar(int ch, struct type *chtype, struct ui_file *stream, int quoter) const override
bool can_print_type_offsets() const override
gdb::unique_xmalloc_ptr< char > demangle_symbol(const char *mangled, int options) const override
void val_print_struct(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const
struct type * check_typedef(struct type *type)
mach_port_t kern_return_t mach_port_t mach_msg_type_name_t msgportsPoly mach_port_t kern_return_t pid_t pid mach_port_t kern_return_t mach_port_t task mach_port_t kern_return_t int flags
static struct symbol * new_symbol(struct die_info *, struct type *, struct dwarf2_cu *, struct symbol *=NULL)
bool rust_slice_type_p(const struct type *type)
std::string rust_crate_for_block(const struct block *block)
const char * rust_last_path_segment(const char *path)
struct type * rust_slice_type(const char *name, struct type *elt_type, struct type *usize_type)
bool rust_tuple_struct_type_p(struct type *type)
struct value * rust_slice_to_array(struct value *val)
bool rust_tuple_type_p(struct type *type)
const char * print_name() const
std::string type_to_string(struct type *type)
void type_print(struct type *type, const char *varstring, struct ui_file *stream, int show)
void gdb_printf(struct ui_file *stream, const char *format,...)
void gdb_puts(const char *linebuffer, struct ui_file *stream)