diff options
author | Tom Tromey <tromey@adacore.com> | 2024-09-26 08:48:03 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-10-15 13:36:29 -0600 |
commit | 1411185a57ed246558f0f97d7faf0dc050de3708 (patch) | |
tree | 232eea52c9f810e5d5cc5dcd7a18bbfdb41cd2ab /gdb/testsuite/gdb.arch/amd64-tailcall-self.exp | |
parent | a104f0a3e62031d2a5aabfe9e82f55158647f444 (diff) | |
download | gdb-master.zip gdb-master.tar.gz gdb-master.tar.bz2 |
While testing a modified GNAT, I found that this test in
fun_renaming.exp was returning 0 for GCC 13:
if {[test_compiler_info {gcc-6*}]}
This patch introduces a new, more robust way to check the GNAT
compiler version, and changes the gda.ada tests to use it. A small
update to version_compare was also needed.
Note that, in its current form, this new code won't really interact
well with non-GCC compilers (specifically gnat-llvm). This doesn't
seem like a major issue at this point, though, because gnat-llvm
doesn't properly emit debuginfo yet, and when it does, more changes
will be needed in these tests anyway.
Reviewed-by: Keith Seitz <keiths@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.arch/amd64-tailcall-self.exp')
0 files changed, 0 insertions, 0 deletions