[pushed,0/2,gdb/testsuite] Fix gdb.xml/*.exp for remote host

Message ID 20230321102553.14895-1-tdevries@suse.de
Headers
Series Fix gdb.xml/*.exp for remote host |

Message

Tom de Vries March 21, 2023, 10:25 a.m. UTC
  Fix two testcases in gdb.xml/*.exp for remote host.

Results:
...
 $ ./test-all.sh
 HOST/TARGET: local
 # of expected passes            46
 HOST: local, TARGET: native-gdbserver
 # of expected passes            46
 HOST: local, TARGET: native-extended-gdbserver
 # of expected passes            46
 HOST: local, TARGET: native-stdio-gdbserver
 # of expected passes            46
 HOST: local, TARGET: remote-gdbserver-on-localhost
 # of expected passes            46
 HOST: local, TARGET: remote-stdio-gdbserver
 # of expected passes            46
 HOST: local, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            46
 HOST: local-remote-host-notty, TARGET: native-gdbserver
 # of expected passes            45
 HOST: local-remote-host-notty, TARGET: native-extended-gdbserver
 # of expected passes            45
 HOST: local-remote-host-notty, TARGET: remote-gdbserver-on-localhost
 # of expected passes            45
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver
 # of expected passes            45
 HOST: local-remote-host-notty, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            45
 HOST: local-remote-host, TARGET: native-gdbserver
 # of expected passes            45
 HOST: local-remote-host, TARGET: native-extended-gdbserver
 # of expected passes            45
 HOST: local-remote-host, TARGET: remote-gdbserver-on-localhost
 # of expected passes            45
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver
 # of expected passes            45
 HOST: local-remote-host, TARGET: remote-stdio-gdbserver-remotedir
 # of expected passes            45
 HOST/TARGET: local-remote-host-native
 # of expected passes            45
...

Tested on x86_64-linux.

Tom de Vries (2):
  [gdb/testsuite] Fix gdb.xml/tdesc-reload.exp for remote host
  [gdb/testsuite] Fix gdb.xml/tdesc-regs.exp for remote host

 gdb/testsuite/gdb.xml/tdesc-regs.exp   |  6 ++----
 gdb/testsuite/gdb.xml/tdesc-reload.exp |  6 +++---
 gdb/testsuite/lib/gdb.exp              | 10 ++++++++++
 3 files changed, 15 insertions(+), 7 deletions(-)


base-commit: 7c872c903c772ca6b269e5dbe2880dd084240ae6