[gdb/testsuite] Fix gdb.python/tui-window.exp for remote host

When running gdb.python/tui-window.exp with host board
local-remote-host-notty and target board native-gdbserver, I get:
...
UNSUPPORTED: gdb.python/tui-window.exp: TUI not supported
FAIL: gdb.python/tui-window.exp: test title
...

Fix this by adding the missing return after the unsupported.

Tested on x86_64-linux.
This commit is contained in:
Tom de Vries 2023-03-13 17:20:09 +01:00
parent 0020d62fb3
commit 1cdf05cd2d

View File

@ -40,6 +40,7 @@ gdb_test_no_output "tui new-layout fail fail 1 status 0 cmd 1"
if {![Term::enter_tui]} {
unsupported "TUI not supported"
return
}
Term::command "layout test"