39 struct ui_file *stream,
int recurse,
40 const struct value *val,
64 error (
_(
"expecting long_set"));
77 LONGEST i, low_bound, high_bound;
103 for (i = low_bound; i <= high_bound; i++)
107 valaddr + embedded_offset, i);
109 error (
_(
"bit test is out of range"));
128 if (previous_low+1 < previous_high)
130 if (previous_low+1 < previous_high)
148 if (previous_low+1 < previous_high)
162 struct ui_file *stream,
int recurse,
165 struct type *content_type;
175 valaddr + embedded_offset);
185 recurse, val, options, len);
247 struct value *deref_val =
266 struct ui_file *stream,
int recurse,
267 const struct value *val,
288 address, stream, recurse, val,
313 const struct value *original_value,
319 struct type *elttype;
343 unsigned int temp_len;
347 (valaddr + embedded_offset)[temp_len]
348 && temp_len < len && temp_len < options->print_max;
354 valaddr + embedded_offset, len, NULL,
363 recurse, original_value,
376 stream, recurse, options);
379 original_value, options, 0, stream);
400 address, stream, recurse, options);
403 address, stream, recurse, original_value,
418 struct type *
range = elttype;
433 for (i = low_bound; i <= high_bound; i++)
441 goto maybe_bad_bstring;
450 if (i + 1 <= high_bound
457 while (i + 1 <= high_bound
459 valaddr + embedded_offset,
475 address, stream, recurse, original_value, options);
500 stream, recurse, original_value, options,
void generic_val_print(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options, const struct generic_val_print_decorations *decorations)
void val_print_scalar_formatted(struct type *type, const gdb_byte *valaddr, int embedded_offset, const struct value *val, const struct value_print_options *options, int size, struct ui_file *stream)
static const char * range
#define TYPE_N_BASECLASSES(thistype)
#define TYPE_LOW_BOUND(range_type)
static void print_variable_at_address(struct type *type, const gdb_byte *valaddr, struct ui_file *stream, int recurse, const struct value_print_options *options)
CORE_ADDR unpack_pointer(struct type *type, const gdb_byte *valaddr)
struct value * value_at(struct type *type, CORE_ADDR addr)
#define TYPE_HIGH_BOUND(range_type)
void common_val_print(struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options, const struct language_defn *language)
int get_long_set_bounds(struct type *type, LONGEST *low, LONGEST *high)
static int print_unpacked_pointer(struct type *type, CORE_ADDR address, CORE_ADDR addr, const struct value_print_options *options, struct ui_file *stream)
enum language la_language
const gdb_byte * value_contents_for_printing(struct value *value)
int m2_is_long_set(struct type *type)
#define TYPE_FIELD_TYPE(thistype, n)
const char * paddress(struct gdbarch *gdbarch, CORE_ADDR addr)
static void m2_print_unbounded_array(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value_print_options *options)
struct type * check_typedef(struct type *type)
LONGEST unpack_field_as_long(struct type *type, const gdb_byte *valaddr, int fieldno)
void fprintf_filtered(struct ui_file *stream, const char *format,...)
void val_print_array_elements(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, unsigned int i)
void fputs_filtered(const char *linebuffer, struct ui_file *stream)
static void m2_print_array_contents(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, int len)
struct gdbarch * get_type_arch(const struct type *type)
struct value * value_at_lazy(struct type *type, CORE_ADDR addr)
void print_type_scalar(struct type *type, LONGEST val, struct ui_file *stream)
int m2_is_unbounded_array(struct type *type)
static void m2_print_long_set(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream)
int value_bit_index(struct type *type, const gdb_byte *valaddr, int index)
#define TYPE_FIELD_BITPOS(thistype, n)
void print_spaces_filtered(int n, struct ui_file *stream)
const struct language_defn * current_language
#define TYPE_TARGET_TYPE(thistype)
#define TYPE_CODE(thistype)
#define TYPE_INDEX_TYPE(type)
void m2_val_print(struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options)
#define TYPE_NFIELDS(thistype)
#define CHECK_TYPEDEF(TYPE)
int value_embedded_offset(struct value *value)
struct type * value_type(const struct value *value)
#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)
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)
int get_discrete_bounds(struct type *type, LONGEST *lowp, LONGEST *highp)
void error(const char *fmt,...)
void cp_print_value_fields(struct type *, struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, const struct value *, const struct value_print_options *, struct type **, int)
const ULONGEST const LONGEST len