old-cross-binutils/gdb/testsuite/gdb.trace
Pierre Langlois 06da0f77c2 Add a test case for fast tracepoints' locking mechanism
When installing a fast tracepoint, we create a jump pad with a
spin-lock.  This way, only one thread can collect a given tracepoint at
any time.  This test case checks that this lock actually works as
expected.

This test works by creating a function which overrides the in-process
agent library's gdb_collect function.  On start up, GDBserver will ask
GDB with the 'qSymbol' packet about symbols present in the inferior.
GDB will reply with the gdb_agent_gdb_collect function from the test
case instead of the one from the agent.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace-lock.c: New file.
	* gdb.trace/ftrace-lock.exp: New file.
2015-09-21 15:01:05 +01:00
..
actions-changed.c
actions-changed.exp
actions.c
actions.exp
ax.exp
backtrace.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
change-loc-1.c
change-loc-2.c
change-loc.c
change-loc.exp
change-loc.h Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
circ.c
circ.exp
collection.c
collection.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
deltrace.exp
disconnected-tracing.c
disconnected-tracing.exp
entry-values.c
entry-values.exp
ftrace-lock.c Add a test case for fast tracepoints' locking mechanism 2015-09-21 15:01:05 +01:00
ftrace-lock.exp Add a test case for fast tracepoints' locking mechanism 2015-09-21 15:01:05 +01:00
ftrace.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
ftrace.exp Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
infotrace.exp
Makefile.in
mi-trace-frame-collected.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
mi-trace-unavailable.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
mi-traceframe-changed.exp
mi-tracepoint-changed.exp
mi-tsv-changed.exp
no-attach-trace.c
no-attach-trace.exp
packetlen.exp
passc-dyn.exp
passcount.exp
pending.c
pending.exp Warn when accessing binaries from remote targets 2015-08-21 17:11:36 +01:00
pendshr1.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
pendshr2.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
pr16508.exp
qtro.c
qtro.exp
range-stepping.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
range-stepping.exp [testsuite] Skip gdb.trace/range-stepping.exp test case if not supported 2015-07-15 14:33:32 +01:00
read-memory.c
read-memory.exp
report.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
save-trace.exp
stap-trace.c
stap-trace.exp
status-stop.c
status-stop.exp
strace.c
strace.exp Move strace -m/explicit location test to strace.exp 2015-08-17 11:57:01 -07:00
tfile.c
tfile.exp
tfind.exp
trace-break.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
trace-break.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
trace-buffer-size.c
trace-buffer-size.exp
trace-condition.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
trace-condition.exp Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
trace-mt.c Enable fast tracepoint tests 2015-09-21 15:01:05 +01:00
trace-mt.exp
trace-unavailable.c
tracecmd.exp
tspeed.c
tspeed.exp
tstatus.exp
tsv.exp
unavailable-dwarf-piece.c
unavailable-dwarf-piece.exp
unavailable.cc
unavailable.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
while-dyn.exp [testsuite][AArch64] Port gdb.trace 2015-07-09 16:35:11 +01:00
while-stepping.exp