]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Minor changes to Ada tests for gnat-llvm
authorTom Tromey <tromey@adacore.com>
Wed, 30 Apr 2025 17:34:40 +0000 (11:34 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 2 May 2025 14:13:58 +0000 (08:13 -0600)
commit1d14dd5887fc304368d01910c0e9544696283ddf
tree09dfaf4369c309c1fbb5a959a51476ffd4f46661
parent0de07b986383f8be874df352482ea404760202c5
Minor changes to Ada tests for gnat-llvm

I found a few more spots where a minor modification to a test lets it
pass with gnat-llvm:

* For array_subcript_addr, gnat-llvm was not putting the array into
  memory.  Making the array larger works around this.

* For bp_inlined_func, it is normal for gnat-llvm to sometimes emit a
  call to an out-of-line copy of the function, so accept this.

* For null_overload and type-tick-size, I've applied the usual fix for
  keeping an unused local variable alive.
gdb/testsuite/gdb.ada/array_subscript_addr/p.adb
gdb/testsuite/gdb.ada/bp_inlined_func.exp
gdb/testsuite/gdb.ada/null_overload/foo.adb
gdb/testsuite/gdb.ada/null_overload/pck.adb [new file with mode: 0644]
gdb/testsuite/gdb.ada/null_overload/pck.ads [new file with mode: 0644]
gdb/testsuite/gdb.ada/type-tick-size/prog.adb