binutils-gdb/gdb/testsuite/lib
Pedro Alves ac69f7863a Add "new-ui console" tests
This adds a test that uses new-ui to create a secondary console, and
then runs some basic smoke tests.  It ensures that:

 - synchronous commands send output to the UI that initiated it

 - asynchronous events like breakpoint hits are reported on all
   consoles.

 - "new-ui" without arguments doesn't crash.

 - The "new-ui" command doesn't repeat.

gdb/testsuite/ChangeLog:
2016-06-21  Pedro Alves  <palves@redhat.com>

	* gdb.base/new-ui.exp: New file.
	* lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
	* lib/gdb.exp (switch_gdb_spawn_id): ... here.
	(with_spawn_id): New procedure.
2016-06-21 01:11:57 +01:00
..
ada.exp * lib/ada.exp (gdb_compile_ada): Fix typo. 2016-01-21 16:20:02 -08:00
append_gdb_boards_dir.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
build-piece.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cache.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cell.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cl_util.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
cl_util.h GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
compiler.c testsuite: Support detection of Intel compilers via test_compiler_version. 2016-04-18 13:52:43 +02:00
compiler.cc testsuite: Support detection of Intel compilers via test_compiler_version. 2016-04-18 13:52:43 +02:00
cp-support.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
d-support.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
dtrace.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
dwarf.exp PR symtab/19999 gdb unable to resolve vars with fission+PIE 2016-05-12 09:24:24 -07:00
fortran.exp fortran: Testsuite, fix different type naming across compilers. 2016-04-18 14:04:07 +02:00
future.exp Update gdb test suite for Rust 2016-05-17 12:02:01 -06:00
gdb-guile.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
gdb-python.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
gdb-utils.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
gdb.exp Add "new-ui console" tests 2016-06-21 01:11:57 +01:00
gdbserver-support.exp Fix gdb.server/solib-list.exp regression 2016-04-08 19:40:01 +01:00
gen-perf-test.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
go.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
java.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
mi-support.exp Add "new-ui console" tests 2016-06-21 01:11:57 +01:00
objc.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
opencl.exp testsuite: Fix some tests that write outside of the standard output directory 2016-02-15 11:46:10 -05:00
opencl_hostapp.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
opencl_kernel.cl
pascal.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
pdtrace.in GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
perftest.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
prelink-support.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
prompt.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
range-stepping-support.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
read1.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
rust-support.exp Update gdb test suite for Rust 2016-05-17 12:02:01 -06:00
selftest-support.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
set_unbuffered_mode.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
trace-support.exp gdbserver/s390: Switch on tracepoint support. 2016-03-29 23:08:05 +02:00
unbuffer_output.c GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00