[PATCH V3 0/4] gdb/testsuite: Miscellaneous fixes

Sandra Loosemore sandra@codesourcery.com
Fri Sep 1 03:22:26 GMT 2023


This is a collection of patches we've had in our local tree for a
while to fix various tests that are broken on nios2-elf and other
embedded targets, and/or on remote Windows host.  The last version was
posted here

https://sourceware.org/pipermail/gdb-patches/2023-April/199037.html

and was reviewed by Tom Tromey, but not approved.  I was busy with
other things and neglected to keep pinging it, but let's try this again.

I've rebased the patches against current mainline head.  On
re-testing, I've also discovered that part 2 of the previous version
(style.exp fixes for unsupported libopcodes styling) no longer seems
to be needed, so I've removed that part from this series and
renumbered the others.

Is this OK for mainline?  It would be kind of nice to get this in the
GDB 14 release (if it is not already too late for it) so that we don't
have to carry forward our local copies of these patches another cycle.
And these fixes may be useful to other people building GDB for
bare-metal targets or weird remote-host test configurations, too.

-Sandra


Sandra Loosemore (4):
  gdb/testsuite: Fix style.exp failures on targets without argc/argv
    support
  gdb/testsuite: Adjust some testcases to allow Windows pathnames
  gdb/testsuite: Disable some tests that are broken on remote Windows
    host
  gdb/testsuite: Make hook-stop.exp ignore termination message from GDB
    stub

 gdb/testsuite/gdb.base/bad-file.exp           |  3 ++
 gdb/testsuite/gdb.base/early-init-file.exp    |  3 ++
 .../gdb.base/empty-host-env-vars.exp          |  3 ++
 gdb/testsuite/gdb.base/hook-stop.exp          |  2 +-
 .../maint-expand-symbols-header-file.exp      |  4 +--
 gdb/testsuite/gdb.base/setshow.exp            | 15 +++++++--
 gdb/testsuite/gdb.base/style.exp              | 23 ++++++++++---
 gdb/testsuite/gdb.dwarf2/dw2-filename.exp     |  2 +-
 gdb/testsuite/gdb.mi/mi-info-sources.exp      | 32 +++++++++----------
 9 files changed, 60 insertions(+), 27 deletions(-)

-- 
2.31.1



More information about the Gdb-patches mailing list