diff options
author | Tom Tromey <tromey@redhat.com> | 2010-01-26 16:53:39 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-01-26 16:53:39 +0000 |
commit | 5a9097696a246ab71af8822bf8ad9238ff485285 (patch) | |
tree | 7b6b8fe84b44033c82c4d35911f2c6f59fc45c7a /gdb/eval.c | |
parent | f03d5cd98559bdc7ee93b72383d9e50999310a97 (diff) | |
download | gdb-5a9097696a246ab71af8822bf8ad9238ff485285.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c index 27b78956465..a0556cf90cb 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; |