32static const char D_MAIN[] =
"D main";
54gdb::unique_xmalloc_ptr<char>
71 const char *
name ()
const override
83 static const std::vector<const char *> extensions = {
".d" };
94 auto add = [&] (
struct type * t)
130 (
const char *mangled,
131 gdb::unique_xmalloc_ptr<char> *demangled)
const override
134 return *demangled != NULL;
140 int options)
const override
155 struct ui_file *stream,
int show,
int level,
164 (
struct value *val,
struct ui_file *stream,
int recurse,
282 if (result ==
nullptr)
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)
int parser(struct parser_state *ps) 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
const char * name() const override
bool sniff_from_mangled_name(const char *mangled, gdb::unique_xmalloc_ptr< char > *demangled) const override
const char * natural_name() const override
void language_arch_info(struct gdbarch *gdbarch, struct language_arch_info *lai) const override
gdb::unique_xmalloc_ptr< char > demangle_symbol(const char *mangled, int options) const override
void value_print_inner(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const override
const char * name_of_this() const override
struct block_symbol lookup_symbol_nonlocal(const char *name, const struct block *block, const domain_enum domain) const override
const std::vector< const char * > & filename_extensions() const override
bool can_print_type_offsets() const override
void set(unsigned key, void *datum)
gdb::unique_xmalloc_ptr< char > gdb_demangle(const char *name, int options)
int d_parse(struct parser_state *par_state)
static struct builtin_d_type * build_d_types(struct gdbarch *gdbarch)
static d_language d_language_defn
const char * d_main_name(void)
static const char D_MAIN[]
static const registry< gdbarch >::key< struct builtin_d_type > d_type_data
const struct builtin_d_type * builtin_d_type(struct gdbarch *gdbarch)
gdb::unique_xmalloc_ptr< char > d_demangle(const char *symbol, int options)
struct block_symbol d_lookup_symbol_nonlocal(const struct language_defn *, const char *, const struct block *, const domain_enum)
void d_value_print_inner(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options)
int gdbarch_float_bit(struct gdbarch *gdbarch)
const struct floatformat ** gdbarch_double_format(struct gdbarch *gdbarch)
int gdbarch_long_double_bit(struct gdbarch *gdbarch)
const struct floatformat ** gdbarch_float_format(struct gdbarch *gdbarch)
const struct floatformat ** gdbarch_long_double_format(struct gdbarch *gdbarch)
int gdbarch_double_bit(struct gdbarch *gdbarch)
struct type * init_character_type(type_allocator &alloc, int bit, int unsigned_p, const char *name)
struct type * init_integer_type(type_allocator &alloc, int bit, int unsigned_p, const char *name)
struct type * init_float_type(type_allocator &alloc, int bit, const char *name, const struct floatformat **floatformats, enum bfd_endian byte_order)
const struct builtin_type * builtin_type(struct gdbarch *gdbarch)
struct type * init_complex_type(const char *name, struct type *target_type)
struct type * init_boolean_type(type_allocator &alloc, int bit, int unsigned_p, const char *name)
@ TYPE_INSTANCE_FLAG_NOTTEXT
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
struct bound_minimal_symbol lookup_minimal_symbol(const char *name, const char *sfile, struct objfile *objf)
struct minimal_symbol * minsym
struct type * builtin_idouble
struct type * builtin_cdouble
struct type * builtin_byte
struct type * builtin_creal
struct type * builtin_void
struct type * builtin_wchar
struct type * builtin_ubyte
struct type * builtin_cent
struct type * builtin_ushort
struct type * builtin_real
struct type * builtin_long
struct type * builtin_dchar
struct type * builtin_ifloat
struct type * builtin_ireal
struct type * builtin_bool
struct type * builtin_cfloat
struct type * builtin_double
struct type * builtin_char
struct type * builtin_ulong
struct type * builtin_uint
struct type * builtin_short
struct type * builtin_int
struct type * builtin_ucent
struct type * builtin_float
struct type * builtin_void
void set_string_char_type(struct type *type)
void add_primitive_type(struct type *type)
void set_bool_type(struct type *type, const char *name=nullptr)
enum language la_language
void set_instance_flags(type_instance_flags flags)
const type_instance_flags instance_flags() const