]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Preserve local variables in another Ada test case
authorTom Tromey <tromey@adacore.com>
Tue, 21 Jan 2025 15:19:21 +0000 (08:19 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 22 Jan 2025 15:05:11 +0000 (08:05 -0700)
commit63efd116baafd6210a65b29973766c3fa264098f
tree79325edee8d03b23e3f268ea63dd129de28a6525
parent95db53e5a03dacef594430f28281748f3111c1f6
Preserve local variables in another Ada test case

I found another Ada test case where gnat-llvm optimizes away the local
variables.  This patch applies the same fix to it as previous patches.
gdb/testsuite/gdb.ada/local-enum/local.adb
gdb/testsuite/gdb.ada/local-enum/pck.adb [new file with mode: 0644]
gdb/testsuite/gdb.ada/local-enum/pck.ads [new file with mode: 0644]