diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-13 17:20:09 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-13 17:20:09 +0100 |
commit | 1cdf05cd2d1d8be9a655f941b4e4037170ae394f (patch) | |
tree | 9a19d25e4f591f7a138de61b7713070ea30f3775 /gdb | |
parent | 0020d62fb3cd384d5f3d23f1877d0709a07a7d2b (diff) | |
download | binutils-1cdf05cd2d1d8be9a655f941b4e4037170ae394f.zip binutils-1cdf05cd2d1d8be9a655f941b4e4037170ae394f.tar.gz binutils-1cdf05cd2d1d8be9a655f941b4e4037170ae394f.tar.bz2 |
[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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.python/tui-window.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/tui-window.exp b/gdb/testsuite/gdb.python/tui-window.exp index af2a866..9b5d17c 100644 --- a/gdb/testsuite/gdb.python/tui-window.exp +++ b/gdb/testsuite/gdb.python/tui-window.exp @@ -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" |