binutils-gdb/gdb/testsuite/lib
Tom de Vries 3f33407487 [gdb/testsuite] Fix timeout in gdb.base/valgrind-infcall-2.exp
Since commit 6d5702a5eb "Fix test case gdb.base/valgrind-bt.exp" I run into:
...
FAIL: gdb.base/valgrind-infcall-2.exp: target remote for vgdb (timeout)
FAIL: gdb.base/valgrind-infcall-2.exp: monitor v.set gdb_output (timeout)
...

The commit adds this line in proc vgdb_start:
...
    set vgdbcmd "set remotetimeout 3"
...
which has no effect given that the value of var vgdbcmd is not used before
it's overwritten.  We can fix this by doing instead:
...
    set_remotetimeout 3
...

The FAIL I'm observing is fixed by increasing the remotetimeout value to 4.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2021-04-29  Tom de Vries  <tdevries@suse.de>

	PR testsuite/27786
	* lib/valgrind.exp (vgdb_start): Use set_remotetimeout.  Increase
	remotetimeout to 4.
2021-04-29 23:32:20 +02:00
..
ada.exp gdb/testsuite: use -wrap with gdb_test_multiple in lib/ada.exp 2021-03-25 14:31:35 +00:00
append_gdb_boards_dir.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
attributes.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
build-piece.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cache.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
check-test-names.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cl_util.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cl_util.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
compile-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
compiler.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
compiler.cc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
completion-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cp-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
d-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
data-structures.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dtrace.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dwarf.exp testsuite, gdb: recognize DW_OP_fbreg in lib/dwarf.exp 2021-04-14 12:49:22 +02:00
fortran.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
future.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-guile.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-python.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb-utils.exp gdb: process early initialization files and command line options 2021-04-15 10:34:09 +01:00
gdb.exp Fix timeout with maint print objfiles 2021-04-27 20:42:07 -03:00
gdbserver-support.exp Fix potential hang during gdbserver testing 2021-03-19 13:36:33 -07:00
gen-perf-test.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gnat_debug_info_test.adb
go.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
jit-elf-helpers.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
memory.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-support.exp gdb/testsuite: eliminate gdb_suppress_tests mechanism 2021-01-22 15:42:36 -05:00
my-syscalls.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
my-syscalls.S Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
objc.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
opencl.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
opencl_hostapp.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
opencl_kernel.cl
pascal.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pdtrace.in Fix obvious typo in gdb/testsuite/lib/pdtrace.in 2021-04-01 22:46:56 +02:00
perftest.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
prelink-support.exp gdb/testsuite: squash duplicate test names in gdb.threads/*.exp 2021-03-16 09:31:06 +00:00
prompt.exp gdb/testsuite: eliminate gdb_suppress_tests mechanism 2021-01-22 15:42:36 -05:00
range-stepping-support.exp gdb: add remote_debug_printf 2021-01-22 12:43:27 -05:00
read1.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rust-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
selftest-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
set_unbuffered_mode.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sym-info-cmds.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
trace-support.exp Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tuiterm.exp gdb/testsuite: fix implementation of delete line in tuiterm.exp 2021-02-08 09:51:45 +00:00
unbuffer_output.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
valgrind.exp [gdb/testsuite] Fix timeout in gdb.base/valgrind-infcall-2.exp 2021-04-29 23:32:20 +02:00