aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-01-26 16:53:44 +0000
committerTom Tromey <tromey@redhat.com>2010-01-26 16:53:44 +0000
commit708ead4e0572e94084eb3f4f0254428d996e8ee3 (patch)
tree3c057abe6d1d29a78d3b01ca06671f9c6616a199 /gdb/eval.c
parentb14e635ec430d1a84fa9061bcd404ef76cf5bf11 (diff)
downloadfsf-binutils-gdb-708ead4e0572e94084eb3f4f0254428d996e8ee3.zip
fsf-binutils-gdb-708ead4e0572e94084eb3f4f0254428d996e8ee3.tar.gz
fsf-binutils-gdb-708ead4e0572e94084eb3f4f0254428d996e8ee3.tar.bz2
gdb
PR exp/7643: * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call coerce_array on result. gdb/testsuite PR exp/7643: * gdb.base/printcmds.exp (test_print_string_constants): Remove setup_kfail.
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;