old-cross-binutils/gdb/testsuite/gdb.trace
Yao Qi 1e4d17643d gdb/
* remote.c (struct remote_state): <install_in_trace> new field.
	(PACKET_InstallInTrace): New enum value.
	(remote_install_in_trace_feature): Support InstallInTrace.
	(remote_supports_install_in_trace): Likewise.
	(remote_protocol_features): Likewise.
	(_initialize_remote): Likewise.
	(remote_can_download_tracepoint): New.
	* target.h (struct target): New field
	`to_can_download_tracepoint'.
	(target_can_download_tracepoint): New macro.
	* target.c (update_current_target): Update.
	* breakpoint.h (struct bp_location): Add comment on field
	`duplicate'.
	(should_be_inserted): Don't differentiate breakpoint and tracepoint.
	(remove_breakpoints): Don't remove tracepoints.
	(tracepoint_locations_match ): New.
	(breakpoint_locations_match): Call it.
	(disable_breakpoints_in_unloaded_shlib): Handle tracepoint.
	(download_tracepoint_locations): New.
	(update_global_location_list): Call it.
	* tracepoint.c (find_matching_tracepoint): Delete.
	(find_matching_tracepoint_location): Renamed from
	find_matching_tracepoint.  Return bp_location rather than
	tracepoint.
	(merge_uploaded_tracepoints): Set `inserted' field to 1 if
	tracepoint is found.

gdb/doc/
	* gdb.texinfo (Create and Delete Tracepoints): Describe changed
	behavior of tracepoint.
	(General Query Packets): New feature InstallInTrace.
	(Remote Configuration): Document "set remote
	install-in-trace-packet".

gdb/gdbserver/
	* server.c (handle_query): Handle InstallInTrace for qSupported.
	* tracepoint.c (add_tracepoint): Sort list.
	(install_tracepoint, download_tracepoint): New.
	(cmd_qtdp): Call them to install and download tracepoints.
	(sort_tracepoints): Removed.
	(cmd_qtstart): Update.

gdb/testsuite/
	* gdb.trace/change-loc-1.c: New.
	* gdb.trace/change-loc-2.c: New.
	* gdb.trace/change-loc.c: New.
	* gdb.trace/change-loc.exp:  New.
	* gdb.trace/change-loc.h:  New.
	* gdb.trace/trace-break.c (marker): Define new symbol.
	* gdb.trace/trace-break.exp (break_trace_same_addr_5):
        New.
	(break_trace_same_addr_6): New.
2011-11-14 15:18:54 +00:00
..
actions.c
actions.exp
ax.exp
backtrace.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
change-loc-1.c gdb/ 2011-11-14 15:18:54 +00:00
change-loc-2.c gdb/ 2011-11-14 15:18:54 +00:00
change-loc.c gdb/ 2011-11-14 15:18:54 +00:00
change-loc.exp gdb/ 2011-11-14 15:18:54 +00:00
change-loc.h gdb/ 2011-11-14 15:18:54 +00:00
circ.c
circ.exp
collection.c 2011-11-02 Stan Shebs <stan@codesourcery.com> 2011-11-02 23:44:21 +00:00
collection.exp 2011-11-02 Stan Shebs <stan@codesourcery.com> 2011-11-02 23:44:21 +00:00
deltrace.exp
infotrace.exp 2011-02-21 Michael Snyder <msnyder@vmware.com> 2011-02-23 19:20:39 +00:00
Makefile.in 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
packetlen.exp
passc-dyn.exp
passcount.exp
report.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
save-trace.exp
tfile.c 2011-05-14 Yao Qi <yao@codesourcery.com> 2011-05-14 06:06:36 +00:00
tfile.exp 2011-05-24 Pedro Alves <pedro@codesourcery.com> 2011-05-24 10:48:19 +00:00
tfind.exp
trace-break.c gdb/ 2011-11-14 15:18:54 +00:00
trace-break.exp gdb/ 2011-11-14 15:18:54 +00:00
tracecmd.exp
tspeed.c * gdb.trace/tspeed.exp: New file. 2011-09-19 16:55:26 +00:00
tspeed.exp * gdb.trace/tspeed.exp: New file. 2011-09-19 16:55:26 +00:00
tsv.exp
unavailable.cc gdb/testsuite/ 2011-03-18 18:51:08 +00:00
unavailable.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
while-dyn.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
while-stepping.exp