aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
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/value.h
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/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index ccf5219..c28b731 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1225,7 +1225,7 @@ inline struct value *value_string (const char *ptr, ssize_t count,
return value_string ((const gdb_byte *) ptr, count, char_type);
}
-extern struct value *value_array (int lowbound, int highbound,
+extern struct value *value_array (int lowbound,
gdb::array_view<struct value *> elemvec);
extern struct value *value_concat (struct value *arg1, struct value *arg2);