old-cross-binutils/gdb/testsuite/lib
Markus Metzger da8c46d296 btrace: indicate speculative execution
Indicate speculatively executed instructions with a leading '?'.  We use the
space that is normally used for the PC prefix.  In the case where the
instruction at the current PC had been executed speculatively before, the PC
prefix will be partially overwritten resulting in "?> ".

As a side-effect, the /p modifier to omit the PC prefix in the "record
instruction-history" command now uses a 3-space PC prefix "   " in order to
have enough space for the speculative execution indication.

gdb/
	* btrace.c (btrace_compute_ftrace_bts): Clear insn flags.
	(pt_btrace_insn_flags): New.
	(ftrace_add_pt): Call pt_btrace_insn_flags.
	* btrace.h (btrace_insn_flag): New.
	(btrace_insn) <flags>: New.
	* record-btrace.c (btrace_insn_history): Print insn prefix.
	* NEWS: Announce it.

doc/
	* gdb.texinfo (Process Record and Replay): Document prefixing of
	speculatively executed instructions in the "record instruction-history"
	command.

testsuite/
	* gdb.btrace/instruction_history.exp: Update.
	* gdb.btrace/tsx.exp: New.
	* gdb.btrace/tsx.c: New.
	* lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2015-08-07 10:22:39 +02:00
..
ada.exp
append_gdb_boards_dir.exp
build-piece.exp Add parallel build support for perf tests. 2015-08-03 09:17:40 -07:00
cache.exp Add parallel build support for perf tests. 2015-08-03 09:17:40 -07:00
cell.exp
cl_util.c
cl_util.h
compiler.c
compiler.cc
cp-support.exp
d-support.exp
dtrace.exp
dwarf.exp
fortran.exp
future.exp Workaround debian change to default value of --as-needed. 2015-07-24 15:24:37 -07:00
gdb-guile.exp
gdb-python.exp
gdb-utils.exp
gdb.exp btrace: indicate speculative execution 2015-08-07 10:22:39 +02:00
gdbserver-support.exp Test --wrapper in extended-remote 2015-07-24 14:40:34 +01:00
gen-perf-test.exp Add perf testcase generator. 2015-07-24 15:43:15 -07:00
go.exp
java.exp
mi-support.exp Adjust MI to $inferior_spawn_id 2015-07-29 11:09:44 +01:00
objc.exp
opencl.exp
opencl_hostapp.c
opencl_kernel.cl
pascal.exp
pdtrace.in
perftest.exp Add perf testcase generator. 2015-07-24 15:43:15 -07:00
prelink-support.exp
prompt.exp
range-stepping-support.exp [testsuite] Skip gdb.trace/range-stepping.exp test case if not supported 2015-07-15 14:33:32 +01:00
read1.c
selftest-support.exp
set_unbuffered_mode.c
trace-support.exp
unbuffer_output.c