| commit | c73556cb0e6da3c2a4484975ee51e052a9be8b36 | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Mon Aug 28 12:40:35 2023 -0600 |
| committer | Tom Tromey <tromey@adacore.com> | Tue Aug 29 13:36:55 2023 -0600 |
| tree | 2f0a60170f6424004e4ff441c7c0b798fb0a0a68 | |
| parent | 4fd1ba162ed6f197169d2af29f4230d7a89e2636 [diff] |
Use gdb::array_view for value_array This changes value_array to accept an array view. I also replaced an alloca with a std::vector in array_operation::evaluate. This function can work on any size of array, so it seems bad to use alloca. Reviewed-by: John Baldwin <jhb@FreeBSD.org> Approved-By: Simon Marchi <simon.marchi@efficios.com>