binutils-gdb/gdb/testsuite/boards
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
..
cc-with-tweaks.exp * boards/cc-with-tweaks.exp: New file. 2013-01-17 19:20:37 +00:00
dwarf4-gdb-index.exp * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET, 2013-01-17 20:17:15 +00:00
fission-dwp.exp Update to load fission.exp. 2013-05-24 01:33:50 +00:00
fission.exp Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
local-remote-host.exp Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
native-extended-gdbserver.exp Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
native-gdbserver.exp Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
native-stdio-gdbserver.exp Upload tsv earlier in remote_start_remote 2013-06-25 13:01:28 +00:00
remote-stdio-gdbserver.exp 2013-05-21 Sterling Augustine <saugustine@google.com> 2013-05-21 17:58:46 +00:00