aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-29 09:14:01 -0600
committerTom Tromey <tromey@adacore.com>2023-08-29 13:36:55 -0600
commitb47331bf901065e051d6490105a61e677cafc451 (patch)
treec6fd7f523e1f1aecb574085d6e7965358aa6fb60 /gdb/eval.c
parent8b2ac9b21649a9c7f9edecfd817e9d10f20158c0 (diff)
downloadgdb-b47331bf901065e051d6490105a61e677cafc451.zip
gdb-b47331bf901065e051d6490105a61e677cafc451.tar.gz
gdb-b47331bf901065e051d6490105a61e677cafc451.tar.bz2
Remove "highbound" parameter from value_array
value_array requires the passed-in bounds to match the length of the array_view it is given. This patch removes the redundant "highbound" parameter. Reviewed-by: John Baldwin <jhb@FreeBSD.org> Approved-By: Simon Marchi <simon.marchi@efficios.com>
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 8dd1b53..7c955a4 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2515,7 +2515,7 @@ array_operation::evaluate (struct type *expect_type,
objects. */
argvec[tem] = in_args[tem]->evaluate_with_coercion (exp, noside);
}
- return value_array (tem2, tem3, argvec);
+ return value_array (tem2, argvec);
}
value *