This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] target attributes [1/5] core and load from target function


This patch add the core files target-attributes.c and target-attributes.h. And add the code that load tha target attributes form remote target.

Thanks,
Hui

2012-08-29 Hui Zhu <hui_zhu@mentor.com>

	* Makefile.in (SFILES): Add target-attributes.c.
	(HFILES_NO_SRCDIR): Add target-attributes.h.
	(COMMON_OBS): Add target-attributes.o.
	* breakpoint.h (breakpoint): Add target_only_cond_check.
	* remote.c (target-attributes.h): New include.
	(PACKET_qXfer_target_attributes_read): New enum.
	(remote_start_remote): Add handler for target attributes.
	(remote_protocol_features): Add "qXfer:target-attributes:read".
	(remote_xfer_partial): Add handler for TARGET_OBJECT_ATTRIBUTES.
	(_initialize_remote): Add command
	"set remote target-attributes-packet".
	(target-attributes.c, target-attributes.h): New files.
	* tracepoint.c (target-attributes.h): New include.
	(find_trace_state_variable_number,
	trace_variable_number_check_1,
	trace_variable_number_check): New functions.
	(trace_variable_command): Call trace_variable_number_check_1.
	(merge_uploaded_trace_state_variables): Call
	trace_variable_number_check.
	tracepoint.h (trace_variable_number_check): New extern.

Attachment: target_attribute_load.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]