[v3,0/3] *** SUBJECT HERE ***

Message ID 20241017175620.5876-2-guinevere@redhat.com
Headers
Series *** SUBJECT HERE *** |

Message

Guinevere Larsen Oct. 17, 2024, 5:56 p.m. UTC
  I decided to check out the 95 XPASSes in the clang buildbot and this is
the series that resulted.  The first 2 patches turn 86 XPASSes into
regular passes.

The third patch adds a generic way to request that a test be compiled
with DWARF5 debug information.

Changes for v3:
* compiler_version_lower_than now uses version_compare
* fixed change and commit message for patch 2, since gcc 7+ does emit
  the DWARF5 only attribute, even when using other dwarf versions.
* Marked patch 3 as reviewed by keith.

Changes for v2:
* rebased on master

Guinevere Larsen (3):
  gdb/testsuite: fix XPASSes when testing with clang
  gdb/testsuite: ask for DWARF5 in gdb.cp/pass-by-ref.exp
  gdb/testsuite: introduce dwarf5 option to gdb_compile

 .../amd64-entry-value-param-dwarf5.exp        |  2 +-
 gdb/testsuite/gdb.cp/classes.exp              | 16 +++++-----
 gdb/testsuite/gdb.cp/pass-by-ref.exp          |  6 +++-
 gdb/testsuite/gdb.cp/ptype-flags.exp          | 11 ++++---
 gdb/testsuite/gdb.dwarf2/dw5-rnglist-test.exp |  3 +-
 .../gdb.dwarf2/gdb-index-types-dwarf5.exp     |  2 +-
 gdb/testsuite/gdb.fortran/assumedrank.exp     |  2 +-
 gdb/testsuite/lib/gdb.exp                     | 29 +++++++++++++++++++
 8 files changed, 52 insertions(+), 19 deletions(-)