old-cross-binutils/gdb/common
Stan Shebs 3065dfb6b4 2011-11-02 Stan Shebs <stan@codesourcery.com>
String collection for tracepoints.
	* NEWS: Mention string collection.
	* common/ax.def (tracenz): New bytecode.
	* ax-gdb.h (trace_string_kludge): Declare.
	* ax-gdb.c: Include valprint.h and c-lang.h.
	(trace_string_kludge): New global.
	(gen_traced_pop): Add string case.
	(agent_command): Add string case.
	* tracepoint.h (decode_agent_options): Declare.
	* tracepoint.c: Include cli-utils.h.
	(decode_agent_options): New function.
	(validate_actionline): Call it.
	(encode_actions_1): Ditto.
	* target.h (struct target_ops): New method to_supports_string_tracing.
	(target_supports_string_tracing): New macro.
	* target.c (update_current_target): Add to_supports_string_tracing.
	* remote.c (struct remote_state): New field string_tracing.
	(remote_string_tracing_feature): New function.
	(remote_protocol_features): New feature tracenz.
	(remote_supports_string_tracing): New function.
	(init_remote_ops): Set to_supports_string_tracing.

	* tracepoint.c (agent_mem_read_string): New function.
	(eval_agent_expr): Call it for tracenz.
	* server.c (handle_query): Report support for tracenz.

	* gdb.texinfo (Tracepoint Action Lists): Document collect/s.
	(General Query Packets): Describe tracenz feature.
	* agentexpr.texi (Bytecode Descriptions): Describe tracenz.

	* gdb.trace/collection.c: Add code using strings.
	* gdb.trace/collection.exp: Add tests of string collection.
2011-11-02 23:44:21 +00:00
..
ax.def 2011-11-02 Stan Shebs <stan@codesourcery.com> 2011-11-02 23:44:21 +00:00
buffer.c 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
buffer.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
common-utils.c 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
common-utils.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
gdb_assert.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
gdb_dirent.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
gdb_locale.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
gdb_signals.h
gdb_thread_db.h 2011-05-26 Yao Qi <yao@codesourcery.com> 2011-05-26 15:49:26 +00:00
i386-xstate.h
linux-osdata.c 2011-08-26 Pedro Alves <pedro@codesourcery.com> 2011-08-26 18:58:04 +00:00
linux-osdata.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
linux-procfs.c Move common linux procfs code to common/ 2011-08-24 12:07:28 +00:00
linux-procfs.h Move common linux procfs code to common/ 2011-08-24 12:07:28 +00:00
linux-ptrace.h gdbserver: add support for FDPIC loadmaps 2011-09-30 00:01:59 +00:00
ptid.c 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
ptid.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
signals.c
xml-utils.c 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00
xml-utils.h 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> 2011-07-21 23:46:12 +00:00