old-cross-binutils/gdb/testsuite/gdb.trace
Stan Shebs 6710bf39b7 Add return address collection for tracepoints.
* tracepoint.c (encode_actions_1): Add case for $_ret.
	(validate_actionline): Check for $_ret.
	(trace_dump_actions): Ditto.
	* ax-gdb.h (gen_trace_for_return_address): Declare.
	* ax-gdb.c: Include arch-utils.h.
	(gen_trace_for_return_address): New function.
	(agent_command): Add return address special case.
	* amd64-tdep.c: Include ax.h and ax-gdb.h.
	(amd64_gen_return_address): New function.
	(amd64_init_abi): Call it.
	* i386-tdep.c: Include ax.h and ax-gdb.h.
	(i386_gen_return_address): New function.
	(i386_init_abi): Call it.
	* arch-utils.h (default_gen_return_address): Declare.
	* arch-utils.c (default_gen_return_address): New function.
	* gdbarch.sh (gen_return_address): New method.
	* gdbarch.h, gdbarch.c: Regenerate.

	* gdb.texinfo (Tracepoint Action Lists): Document $_ret.

	* gdb.trace/collection.exp: Test collection of $_ret.
2011-09-27 13:09:37 +00:00
..
actions.c
actions.exp
ax.exp
backtrace.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
circ.c
circ.exp
collection.c
collection.exp Add return address collection for tracepoints. 2011-09-27 13:09:37 +00:00
deltrace.exp
infotrace.exp
Makefile.in
packetlen.exp
passc-dyn.exp
passcount.exp
report.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
save-trace.exp
tfile.c
tfile.exp 2011-05-24 Pedro Alves <pedro@codesourcery.com> 2011-05-24 10:48:19 +00:00
tfind.exp
tracecmd.exp
tspeed.c * gdb.trace/tspeed.exp: New file. 2011-09-19 16:55:26 +00:00
tspeed.exp * gdb.trace/tspeed.exp: New file. 2011-09-19 16:55:26 +00:00
tsv.exp
unavailable.cc
unavailable.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
while-dyn.exp gdb/testsuite/ 2011-09-08 17:40:54 +00:00
while-stepping.exp