[pushed,00/10,gdb/testsuite] Fix gdb.dwarf2 for remote host

Message ID 20230327115858.5950-1-tdevries@suse.de
Headers
Series Fix gdb.dwarf2 for remote host |

Message

Tom de Vries March 27, 2023, 11:58 a.m. UTC
  Fix gdb.dwarf2/*.exp with a variaty of remote host/target boards.

Result:
...
 $ ./test-all.sh
 HOST/TARGET: local
 # of expected passes            2199
 # of known failures             3
 # of unsupported tests          11
 HOST: local, TARGET: native-gdbserver
 # of expected passes            2192
 # of known failures             3
 # of unsupported tests          13
 HOST: local, TARGET: native-extended-gdbserver
 # of expected passes            2199
 # of known failures             3
 # of unsupported tests          11
 HOST: local, TARGET: native-stdio-gdbserver
 # of expected passes            2192
 # of known failures             3
 # of unsupported tests          13
 HOST: local, TARGET: remote-gdbserver-on-localhost
 # of expected passes            2196
 # of known failures             3
 # of unsupported tests          13
 HOST: local, TARGET: remote-stdio-gdbserver
 # of expected passes            2196
 # of known failures             3
 # of unsupported tests          13
 HOST: local, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            2196
 # of known failures             3
 # of unsupported tests          13
 HOST: local-remote-host-notty, TARGET: native-gdbserver
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host-notty, TARGET: native-extended-gdbserver
 # of expected passes            1911
 # of known failures             3
 # of unsupported tests          21
 HOST: local-remote-host-notty, TARGET: remote-gdbserver-on-localhost
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host, TARGET: native-gdbserver
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host, TARGET: native-extended-gdbserver
 # of expected passes            1911
 # of known failures             3
 # of unsupported tests          21
 HOST: local-remote-host, TARGET: remote-gdbserver-on-localhost
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            1904
 # of known failures             3
 # of unsupported tests          23
 HOST/TARGET: local-remote-host-native
 # of expected passes            1911
 # of known failures             3
 # of unsupported tests          21
...

Tom de Vries (10):
  [gdb/testsuite] Add missing include_file in gdb.dwarf/*.exp
  [gdb/testsuite] Fix have_index for remote host
  [gdb/testsuite] Fix quoting issues in gdb.dwarf2 for remote host
  [gdb/testsuite] Fix quoting issue in gdb.base/index-cache.exp
  [gdb/testsuite] Fix gdb.dwarf2/per-bfd-sharing.exp for remote host
  [gdb/testsuite] Fix gdb.dwarf2/gdb-index.exp on remote host
  [gdb/testsuite] Fix gdb.dwarf2/enqueued-cu-base-addr.exp for remote
    host
  [gdb/testsuite] Fix gdb.dwarf2/gdb-index-cxx.exp for remote host
  [gdb/testsuite] Unsupport gdb.dwarf2/gdb-add-index-symlink.exp for
    remote host
  [gdb/testsuite] Fix gdb.dwarf2/imported-unit-bp-c.exp for remote host

 gdb/testsuite/gdb.base/index-cache.exp        |  2 +-
 gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc.exp    | 17 +++++----
 gdb/testsuite/gdb.dwarf2/dw2-error.exp        |  6 ++--
 .../gdb.dwarf2/dw2-missing-cu-tag.exp         |  4 ++-
 .../gdb.dwarf2/dw2-objfile-overlap.exp        |  4 ++-
 .../gdb.dwarf2/dw2-ref-missing-frame.exp      | 18 ++++++----
 .../gdb.dwarf2/dw2-stack-boundary.exp         | 11 ++----
 .../gdb.dwarf2/dw2-using-debug-str.exp        | 10 +++---
 gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp    |  2 ++
 .../gdb.dwarf2/enqueued-cu-base-addr.exp      |  2 +-
 gdb/testsuite/gdb.dwarf2/fission-mix.exp      |  2 ++
 .../gdb.dwarf2/gdb-add-index-symlink.exp      |  3 ++
 gdb/testsuite/gdb.dwarf2/gdb-index-cxx.exp    |  2 +-
 gdb/testsuite/gdb.dwarf2/gdb-index.exp        | 36 +++++++++++++------
 .../gdb.dwarf2/imported-unit-bp.exp.tcl       |  5 +++
 .../locexpr-data-member-location.exp          |  1 +
 gdb/testsuite/gdb.dwarf2/per-bfd-sharing.exp  | 11 +++---
 gdb/testsuite/lib/gdb.exp                     | 27 +++++++++++++-
 18 files changed, 114 insertions(+), 49 deletions(-)


base-commit: 2b3f4c0616abffb2a1a29543cb649483b1722db4