+2011-01-25 Pedro Alves <pedro@codesourcery.com>
+
+ * m2-valprint.c (print_unbounded_array): Pass
+ value_contents_for_printing rather than value_contents, to
+ m2_print_array_contents. Also pass in the value.
+
2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
len = unpack_field_as_long (type, valaddr + embedded_offset, 1);
fprintf_filtered (stream, "{");
- m2_print_array_contents (value_type (val), value_contents(val),
+ m2_print_array_contents (value_type (val),
+ value_contents_for_printing (val),
value_embedded_offset (val), addr, stream,
- recurse, NULL, options, len);
+ recurse, val, options, len);
fprintf_filtered (stream, ", HIGH = %d}", (int) len);
}