old-cross-binutils/gdb/testsuite/lib
Pedro Alves 0bbeccb1ee Fix gdb_spawn_with_cmdline_opts with non-empty GDBFLAGS
Running attach.exp with a DejaGnu board that sets GDBFLAGS, like
e.g.,:

  set GDBFLAGS "-ex \"set displaced off\""

fails with (line breaks added for clarity):

 (gdb) PASS: gdb.base/attach.exp: starting with --pid
 Executing on build: kill -9 3537    (timeout = 300)
 spawn -ignore SIGHUP kill -9 3537
 spawn of build/gdb/gdb -nw -nx \
  -data-directory build/gdb/testsuite/../data-directory  \
  -ex "set displaced off"-iex "set height 0" -iex "set width 0" \
                     ^^^^^^^^
  --pid=4468 -ex "start"  failed
 ERROR: Spawning build/gdb/gdb failed.
 UNRESOLVED: gdb.base/attach.exp: cmdline attach run: run to prompt

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

	* lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
	GDBFLAGS if not empty.
2015-04-01 15:25:21 +01:00
..
ada.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
append_gdb_boards_dir.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cache.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cell.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cl_util.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cl_util.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compiler.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compiler.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cp-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
d-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
dtrace.exp Simple testsuite for DTrace USDT probes. 2015-02-17 16:41:16 +01:00
dwarf.exp dwarf.exp: Allow generating a stub .debug_line section 2015-03-31 16:25:07 +02:00
fortran.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
future.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-guile.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-python.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-utils.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb.exp Fix gdb_spawn_with_cmdline_opts with non-empty GDBFLAGS 2015-04-01 15:25:21 +01:00
gdbserver-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
go.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
java.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mi-support.exp Accept all-stop alternative in mi_expect_interrupt 2015-03-04 17:56:58 -05:00
objc.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl_hostapp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
opencl_kernel.cl
pascal.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pdtrace.in Simple testsuite for DTrace USDT probes. 2015-02-17 16:41:16 +01:00
perftest.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
prelink-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
prompt.exp Introduce gdb_interact in testsuite 2015-01-22 15:49:08 -05:00
range-stepping-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
read1.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
selftest-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
set_unbuffered_mode.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
trace-support.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
unbuffer_output.c Add "../lib/unbuffer_output.c" and use it in gdb.base/interrupt.c 2015-02-27 13:54:22 +00:00