[PATCH 0/3] fix gdb.mi testsuite folder, when using clang

Guinevere Larsen blarsen@redhat.com
Tue Jul 23 20:12:36 GMT 2024


Using clang to test gdb.mi functionality showed a few failures, almost
all of which were easy to fix. The only non-trivial fix was related to
the last patch, that would need re-writing to use the dwarf::assembler,
and that felt overkill for such a small test, so the test is just
skipped when it sees the clang compiler.

Guinevere Larsen (3):
  gdb/testsuite: fix gdb.mi/mi-catch-cpp-exceptions.exp with clang
  gdb/testsuite: fix gdb.mi/mi-var-cp.exp with clang
  gdb/testsuite: skip gdb.mi/dw2-ref-missing-frame.exp with clang

 gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp  | 10 ++++++++++
 gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.cc |  6 ++----
 gdb/testsuite/gdb.mi/mi-var-cp.cc               |  3 ++-
 3 files changed, 14 insertions(+), 5 deletions(-)

-- 
2.45.2



More information about the Gdb-patches mailing list