aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-valprint.c')
-rw-r--r--gdb/d-valprint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/d-valprint.c b/gdb/d-valprint.c
index 90095cd..755f180 100644
--- a/gdb/d-valprint.c
+++ b/gdb/d-valprint.c
@@ -59,6 +59,7 @@ dynamic_array_type (struct type *type, const gdb_byte *valaddr,
true_type = lookup_array_range_type (true_type, 0, length - 1);
ival = value_at (true_type, addr);
+ true_type = value_type (ival);
d_val_print (true_type,
value_contents_for_printing (ival),