binutils-gdb/gdb/testsuite/gdb.server
Yao Qi a0743c90c7 Upload tsv earlier in remote_start_remote
In extended-remote, when GDB connects the target, but target is not
running, the TSVs are not uploaded.  When GDB attaches to a process,
the TSVs are not uploaded either.  However, GDBserver has some
builtin or predefined TSV to upload, such as $trace_timestamp.  This
bug causes $trace_timestamp is never uploaded.

gdb/

2013-06-25  Yao Qi  <yao@codesourcery.com>

        * remote.c (remote_start_remote): Move code to upload tsv
        earlier.

gdb/testsuite/

2013-06-25  Yao Qi  <yao@codesourcery.com>

	* boards/native-extended-gdbserver.exp: Set board_info
	'gdb,predefined_tsv'.
	* boards/native-gdbserver.exp: Likewise.
	* boards/native-stdio-gdbserver.exp: Likewise.
	* gdb.server/ext-attach.exp: Load trace-support.exp.  Check
	uploaded TSVs if target supports tracing.
	* gdb.trace/tsv.exp: Check uploaded TSVs if target supports
	tracing and target has predefined tsv.

gdb/doc/

2013-06-25  Yao Qi  <yao@codesourcery.com>

	* gdbint.texinfo (Testsuite): Document 'gdb,predefined_tsv'.
2013-06-25 13:01:28 +00:00
..
ext-attach.c
ext-attach.exp Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
ext-run.exp
file-transfer.exp
Makefile.in From: Sanimir Agovic <sanimir.agovic@intel.com> 2013-02-12 15:03:12 +00:00
no-thread-db.c From: Sanimir Agovic <sanimir.agovic@intel.com> 2013-02-12 15:03:12 +00:00
no-thread-db.exp From: Sanimir Agovic <sanimir.agovic@intel.com> 2013-02-12 15:03:12 +00:00
server-exec-info.exp
server-kill.c gdb/ 2013-03-22 20:39:29 +00:00
server-kill.exp gdb/testsuite/ 2013-04-09 15:26:44 +00:00
server-mon.exp
server-run.exp
server.c
solib-list-lib.c
solib-list-main.c
solib-list.exp
transfer.txt