old-cross-binutils/gdb/testsuite/lib
Pedro Alves e8376742bd Adjust MI to $inferior_spawn_id
Rather than trying to determine where (which spawn id) the inferior
output comes out from, which depends on e.g., remote that supports
file i/o remote protocol extension, vs remote that sends inferior
output through a separate $inferior_spawn_id, vs native debugging,
which sends output through $gdb_spawn_id, vs native debugging with a
test that uses "separate-inferior-tty" (like mi-console.exp does),
always expect inferior output from both $inferior_spawn_id and
$gdb_spawn_id.

mi-console.exp itself already copes with different possible outputs in
a similar way:

 # Combine both outputs in a single pattern.
 set output "($semihosted_output|$native_output)"

Fixes:

 FAIL: gdb.mi/mi-console.exp: Testing console output inferior output (timeout)

when testing against local gdbserver with gdb,noinferiorio removed
from the board file.

gdb/testsuite/ChangeLog:
2015-07-29  Pedro Alves  <palves@redhat.com>

	* lib/mi-support.exp (mi_inferior_spawn_id): Delete.
	(default_mi_gdb_start): Set inferior_spawn_id instead of
	mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
	gdb_spawn_id.
	(mi_gdb_test): Always expect inferior output from both
	$inferior_spawn_id and $gdb_spawn_id.
2015-07-29 11:09:44 +01:00
..
ada.exp
append_gdb_boards_dir.exp
cache.exp Revert: * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL. 2015-07-25 12:07:28 -07:00
cell.exp
cl_util.c
cl_util.h
compiler.c
compiler.cc
cp-support.exp
d-support.exp
dtrace.exp
dwarf.exp
fortran.exp
future.exp Workaround debian change to default value of --as-needed. 2015-07-24 15:24:37 -07:00
gdb-guile.exp
gdb-python.exp
gdb-utils.exp
gdb.exp Introduce gdb_test_stdio 2015-07-29 11:09:37 +01:00
gdbserver-support.exp Test --wrapper in extended-remote 2015-07-24 14:40:34 +01:00
gen-perf-test.exp Add perf testcase generator. 2015-07-24 15:43:15 -07:00
go.exp
java.exp
mi-support.exp Adjust MI to $inferior_spawn_id 2015-07-29 11:09:44 +01:00
objc.exp
opencl.exp
opencl_hostapp.c
opencl_kernel.cl
pascal.exp
pdtrace.in
perftest.exp Add perf testcase generator. 2015-07-24 15:43:15 -07:00
prelink-support.exp
prompt.exp
range-stepping-support.exp [testsuite] Skip gdb.trace/range-stepping.exp test case if not supported 2015-07-15 14:33:32 +01:00
read1.c
selftest-support.exp
set_unbuffered_mode.c
trace-support.exp
unbuffer_output.c