aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index de1c4bd..dba174d 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -1358,8 +1358,7 @@ evaluate_subexp_standard (struct type *expect_type,
val_type = expect_type;
}
- struct_return = using_struct_return (exp->gdbarch,
- value_type (method),
+ struct_return = using_struct_return (exp->gdbarch, method,
val_type);
}
else if (expect_type != NULL)