aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 27b7895..a0556cf 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2629,7 +2629,7 @@ evaluate_subexp_for_address (struct expression *exp, int *pos,
goto default_case_after_eval;
}
- return x;
+ return coerce_array (x);
case UNOP_MEMVAL:
(*pos) += 3;