]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use LONGEST rather than int for array slices
authorTom Tromey <tromey@adacore.com>
Wed, 27 Aug 2025 19:08:13 +0000 (13:08 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 11 Sep 2025 17:59:58 +0000 (11:59 -0600)
commit6c82831fe65d1c94f776df3c2cbe6309768ed730
tree279694311036ea19986884a0ed8973b309523c6d
parente68dd763a12b9b86dbc45d36bb4de382fb1645c9
Use LONGEST rather than int for array slices

This patch started by removing the remaining calls to longest_to_int
from ada-lang.c, then chasing down the callees to make sure they were
also using LONGEST.  This ended up with a small change to value_slice
as well.
gdb/ada-lang.c
gdb/eval.c
gdb/valops.c
gdb/value.h