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 38d1dd5..7419819 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1532,7 +1532,7 @@ evaluate_subexp_standard (struct type *expect_type,
array or pointer type (like a plain int variable for example),
then report this as an error. */
- COERCE_REF (arg1);
+ arg1 = coerce_ref (arg1);
type = check_typedef (VALUE_TYPE (arg1));
if (TYPE_CODE (type) != TYPE_CODE_ARRAY
&& TYPE_CODE (type) != TYPE_CODE_PTR)