binutils-gdb/gdb/testsuite/lib
Tom de Vries 72f160d012 [gdb/testsuite] Require ![is_remote host] for TUI
When running test-case gdb.tui/corefile-run.exp with both host and target board
local-remote-host-native.exp, we run into:
...
FAIL: gdb.tui/corefile-run.exp: load corefile
...
while this passes with USE_TUI=0.

The problem is that the TUI setup code uses "setenv TERM ansi", which has no
effect on remote host.

I can confirm this analysis by working around this problem in
local-remote-host-native.exp like this:
...
-    spawn $RSH -t -l $username $remote $cmd
+    spawn $RSH -t -l $username $remote "export TERM=ansi; $cmd"
...

For now, simply make TUI unsupported for remote host, by returning 0 in
prepare_for_tui.

Tested on x86_64-linux.
2023-03-13 17:20:09 +01:00
..
ada.exp [gdb/testsuite] Use regular proc syntax for gdb_caching_proc 2023-03-06 16:49:19 +01:00
append_gdb_boards_dir.exp
attributes.h
build-piece.exp
cache.exp [gdb/testsuite] Allow args in gdb_caching_proc 2023-03-06 16:49:19 +01:00
check-test-names.exp
cl_util.c
cl_util.h
compile-support.exp
compiler.c
compiler.cc
compiler.F90
completion-support.exp gdb/testsuite: Improve testing of GDB's completion functions 2023-02-27 10:52:23 +01:00
cp-support.exp
d-support.exp
dap-support.exp gdb: update some copyright years (2022 -> 2023) 2023-03-01 20:54:56 -05:00
data-structures.exp
debuginfod-support.exp
dg-add-core-file-count.sh
dtrace.exp
dwarf.exp
fortran.exp
future.exp
gdb-guile.exp [gdb/testsuite] Use regular proc syntax for gdb_caching_proc 2023-03-06 16:49:19 +01:00
gdb-python.exp
gdb-utils.exp
gdb.exp [gdb/testsuite] Fix untested message in gdb.tui/corefile-run.exp 2023-03-13 17:20:09 +01:00
gdbserver-support.exp
gen-perf-test.exp
gnat_debug_info_test.adb
go.exp
jit-elf-helpers.exp
memory.exp
mi-support.exp [gdb/testsuite] Fix gdb.mi/*.exp with remote-gdbserver-on-localhost 2023-03-07 09:59:56 +01:00
my-syscalls.h
my-syscalls.S
notty-wrap
objc.exp
opencl_hostapp.c
opencl_kernel.cl
opencl.exp [gdb/testsuite] Use regular proc syntax for gdb_caching_proc 2023-03-06 16:49:19 +01:00
pascal.exp
pdtrace.in
perftest.exp
precise-aligned-alloc.c
prelink-support.exp
prompt.exp
range-stepping-support.exp
read1.c
rocm.exp [gdb/testsuite] Use regular proc syntax for gdb_caching_proc 2023-03-06 16:49:19 +01:00
rust-support.exp [gdb/testsuite] Use regular proc syntax for gdb_caching_proc 2023-03-06 16:49:19 +01:00
selftest-support.exp
set_unbuffered_mode.c
sym-info-cmds.exp
ton.tcl
trace-support.exp
tuiterm.exp [gdb/testsuite] Require ![is_remote host] for TUI 2023-03-13 17:20:09 +01:00
unbuffer_output.c
valgrind.exp