binutils-gdb/gdb/testsuite
Yao Qi 393fd4c376 gdb/
2013-04-10  Hui Zhu  <hui@codesourcery.com>
	    Yao Qi  <yao@codesourcery.com>

	* configure.ac: Check libbabeltrace is installed.
	* config.in: Regenerate.
	* configure: Regenerate.
	* Makefile.in (LIBBABELTRACE): New.
	(CLIBS): Add LIBBABELTRACE.
	* ctf.c: Include "exec.h".
	(CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
	(CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
	(ctf_save_metadata_header): Define new type aliases in
	metadata.
	(ctf_write_header): Define event type "tsv_def" and "tp_def"
	in metadata.  Start a new faked packet for trace status.
	(ctf_write_status): Write trace status to CTF.
	(ctf_write_uploaded_tsv): Write TSV to CTF.
	(ctf_write_uploaded_tp): Write tracepoint definition to CTF.
	(ctf_write_definition_end): End the faked packet.

	(ctx, ctf_iter, trace_dirname): New.
	(start_pos): New variable.
	(ctf_destroy, ctf_open_dir, ctf_open): New.
	(SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
	macros.
	(ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
	(ctf_fetch_registers, ctf_xfer_partial): New.
	(ctf_get_trace_state_variable_value): New.
	(ctf_get_tpnum_from_frame_event): New.
	(ctf_get_traceframe_address): New.
	(ctf_trace_find, ctf_has_stack): New.
	(ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
	(ctf_get_trace_status, ctf_read_status): New.
	(_initialize_ctf): New.
	* tracepoint.c (get_tracepoint_number): New
	(get_uploaded_tsv): Remove 'static'.
 	(struct traceframe_info, trace_regblock_size): Move it to ...
	* tracepoint.h: ... here.
	(get_tracepoint_number): Declare it.
	(get_uploaded_tsv): Declare it.

	* NEWS: Mention new configure option.

gdb/doc/

2013-04-10  Yao Qi  <yao@codesourcery.com>

	* gdb.texinfo (Trace Files): Add "target ctf".

gdb/testsuite/

2013-04-10  Yao Qi  <yao@codesourcery.com>

	* gdb.trace/actions.exp: Save trace data to CTF.
	Change to ctf target if GDB supports, read CTF data in ctf
	target, and check the actions of tracepoints.
	* gdb.trace/while-stepping.exp: Likewise.
	* gdb.trace/report.exp: Test GDB saves trace data to CTF
	format and read CTF trace file if GDB supports.
	* gdb.trace/tstatus.exp: Save trace data to CTF.  If ctf
	target is supported, change to ctf target, read trace data and
	check output of command "tstatus".
	* gdb.trace/tsv.exp: Save trace frame to CTF.  If GDB supports,
	read CTF data by target ctf and call check_tsv.
2013-04-10 09:42:57 +00:00
..
boards * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET, 2013-01-17 20:17:15 +00:00
config gdb/testsuite/ 2013-03-14 13:34:06 +00:00
gdb.ada Ignore __fu<digits>__ symbols from COFF symbol tables 2013-03-29 02:04:15 +00:00
gdb.arch gdb/testsuite/ 2013-03-14 13:34:06 +00:00
gdb.asm Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb.base 2013-04-10 Pedro Alves <palves@redhat.com> 2013-04-10 04:35:21 +00:00
gdb.btrace record-btrace: fix assertion when enabling recording after re-run 2013-03-26 07:15:09 +00:00
gdb.cell Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb.cp 2013-04-04 Sandra Loosemore <sandra@codesourcery.com> 2013-04-04 21:01:40 +00:00
gdb.disasm Update years in copyright notice for the GDB files. 2013-01-01 06:33:28 +00:00
gdb.dwarf2 gdb/testsuite/ 2013-03-15 01:41:29 +00:00
gdb.fortran Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.gdb gdb/ 2013-02-03 15:54:18 +00:00
gdb.go Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.hp gdb/testsuite/ 2013-03-14 13:34:06 +00:00
gdb.java Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.linespec 2013-04-04 Sandra Loosemore <sandra@codesourcery.com> 2013-04-04 20:59:12 +00:00
gdb.mi create_breapoint / explicit mode: Error out if there's garbage after the breakpoint location. 2013-04-08 14:09:30 +00:00
gdb.modula2 Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.multi Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.objc Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.opencl Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.opt Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.pascal Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.python gdb/testsuite/ 2013-03-14 13:34:06 +00:00
gdb.reverse Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.server gdb/testsuite/ 2013-04-09 15:26:44 +00:00
gdb.stabs Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gdb.threads gdb/testsuite/ 2013-03-15 01:41:29 +00:00
gdb.trace gdb/ 2013-04-10 09:42:57 +00:00
gdb.xml Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
lib tracepoint->step_count fixes 2013-04-04 19:22:38 +00:00
aclocal.m4
ChangeLog gdb/ 2013-04-10 09:42:57 +00:00
configure Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
configure.ac Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
dg-extract-results.sh Merge dg-extract-results.sh from gcc upstream (svn 195224). 2013-01-17 14:31:11 +00:00
Makefile.in Add tests for the new record-btrace target. 2013-03-11 08:59:00 +00:00
TODO