36 struct ui_file *stream,
int show,
int level,
64 struct ui_file *stream,
int show,
int level);
102 m2_typedef (type, stream, show, level, flags);
106 m2_array (type, stream, show, level, flags);
110 m2_pointer (type, stream, show, level, flags);
114 m2_ref (type, stream, show, level, flags);
118 m2_unknown (
_(
"method"), type, stream, show, level);
130 m2_enum (type, stream, show, level);
138 m2_unknown (
_(
"undef"), type, stream, show, level);
142 m2_unknown (
_(
"error"), type, stream, show, level);
146 m2_range (type, stream, show, level, flags);
288 for (i = 0; i <
len; i++)
307 struct ui_file *stream,
int show,
int level,
421 return (l1 == l2 && h1 == h2);
422 error (
_(
"long_set failed to find discrete bounds for its subtype"));
425 error (
_(
"expecting long_set"));
433 struct type *of_type;
467 stream, show - 1, level, 0);
472 stream, show - 1, level, 1);
527 "", stream, 0, level, flags);
576 stream, 0, level + 4, flags);
611 for (i = 0; i <
len; i++)
static int m2_get_discrete_bounds(struct type *type, LONGEST *lowp, LONGEST *highp)
static const char * range
void m2_print_type(struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
#define SYMBOL_PRINT_NAME(symbol)
#define TYPE_FIELD_NAME(thistype, n)
#define TYPE_N_BASECLASSES(thistype)
#define TYPE_LOW_BOUND(range_type)
#define TYPE_NAME(thistype)
static void m2_print_bounds(struct type *type, struct ui_file *stream, int show, int level, int print_high)
#define TYPE_HIGH_BOUND(range_type)
char * plongest(LONGEST l)
static void m2_typedef(struct type *, struct ui_file *, int, int, const struct type_print_options *)
void type_print(struct type *type, const char *varstring, struct ui_file *stream, int show)
static void m2_record_fields(struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
void m2_print_typedef(struct type *type, struct symbol *new_symbol, struct ui_file *stream)
#define TYPE_FIELD_ENUMVAL(thistype, n)
#define TYPE_FIELD_TYPE(thistype, n)
static void m2_ref(struct type *, struct ui_file *, int, int, const struct type_print_options *)
mach_port_t kern_return_t mach_port_t msgports 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
void fprintf_filtered(struct ui_file *stream, const char *format,...)
void fputs_filtered(const char *linebuffer, struct ui_file *stream)
static void m2_type_name(struct type *type, struct ui_file *stream)
#define SYMBOL_LINKAGE_NAME(symbol)
static int startswith(const char *string, const char *pattern)
void print_type_scalar(struct type *type, LONGEST val, struct ui_file *stream)
static struct symbol * new_symbol(struct die_info *, struct type *, struct dwarf2_cu *)
void wrap_here(char *indent)
#define TYPE_FIELD_PACKED(thistype, n)
#define TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED(arraytype)
#define TYPE_FIELD_BITSIZE(thistype, n)
static void m2_range(struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_union(struct type *, struct ui_file *)
static void m2_procedure(struct type *, struct ui_file *, int, int, const struct type_print_options *)
void fprintfi_filtered(int spaces, struct ui_file *stream, const char *format,...)
static void m2_pointer(struct type *, struct ui_file *, int, int, const struct type_print_options *)
void print_spaces_filtered(int n, struct ui_file *stream)
static int m2_long_set(struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
#define TYPE_TARGET_TYPE(thistype)
static void m2_array(struct type *, struct ui_file *, int, int, const struct type_print_options *)
#define TYPE_CODE(thistype)
#define TYPE_INDEX_TYPE(type)
#define TYPE_NFIELDS(thistype)
int m2_is_unbounded_array(struct type *type)
#define CHECK_TYPEDEF(TYPE)
#define TYPE_TAG_NAME(type)
#define SYMBOL_TYPE(symbol)
#define TYPE_LENGTH(thistype)
int get_long_set_bounds(struct type *type, LONGEST *low, LONGEST *high)
static void m2_short_set(struct type *type, struct ui_file *stream, int show, int level)
int get_discrete_bounds(struct type *type, LONGEST *lowp, LONGEST *highp)
void error(const char *fmt,...)
static void m2_unknown(const char *s, struct type *type, struct ui_file *stream, int show, int level)
static int m2_unbounded_array(struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
int m2_is_long_set_of_type(struct type *type, struct type **of_type)
static void m2_enum(struct type *, struct ui_file *, int, int)
int m2_is_long_set(struct type *type)
const ULONGEST const LONGEST len