old-cross-binutils/gdb/testsuite
Stan Shebs 1042e4c058 2009-03-30 Stan Shebs <stan@codesourcery.com>
Make tracepoints into a type of breakpoint.
	* breakpoint.h (enum bptype): Add bp_tracepoint.
	(struct breakpoint): Add fields step_count, pass_count, actions.
	(get_tracepoint, get_tracepoint_by_number): Declare.
	(all_tracepoints): Declare.
	* breakpoint.c: Include tracepoint.h, readline.h.
	(ALL_TRACEPOINTS): Move here from tracepoint.c.
	(tracepoint_count): Ditto.
	(should_be_inserted): GDB does not insert tracepoints itself.
	(print_it_typical): Add tracepoint case.
	(bpstat_what): Ditto.
	(print_one_breakpoint_location): Ditto, and add printing for
	pass count, step count, and action list.
	(user_settable_breakpoint): Add tracepoint case.
	(allocate_bp_location): Ditto.
	(set_breakpoint_location_function): Ditto.
	(disable_breakpoints_in_shlibs): Ditto.
	(mention): Ditto.
	(break_command_really): Add argument traceflag, use to choose
	basic breakpoint type.
	(break_command_1): Pass extra argument.
	(set_breakpoint, handle_gnu_v3_exceptions): Ditto.
	(breakpoint_re_set_one): Add tracepoint case.
	(disable_command, enable_command): Ditto.
	(set_tracepoint_count): Move here from tracepoint.c.
	(trace_command): Move here from tracepoint.c and use
	break_command_really.
	(tracepoints_info): Move here from tracepoint.c and call
	breakpoints_info.
	(enable_trace_command): Move here from tracepoint.c and call
	enable_command.
	(disable_trace_command): Move here from tracepoint.c and call
	disable_command.
	(delete_trace_command): Move here from tracepoint.c and call
	delete_breakpoint.
	(trace_pass_command): Move here from tracepoint.c.
	(get_tracepoint_by_number): Ditto.
	(tracepoint_save_command): Ditto.
	(get_tracepoint): New function.
	(all_tracepoints): New function.
	(_initialize_breakpoint): Move tracepoint init from tracepoint.c,
	deprecate "enable trace" and "disable trace" commands.
	* tracepoint.h (struct tracepoint): Remove.
	(tracepoint_chain): Remove decl.
	(deprecated_create_tracepoint_hook): Remove decl.
	(deprecated_delete_tracepoint_hook): Remove decl.
	(deprecated_modify_tracepoint_hook): Remove decl.
	(ALL_TRACEPOINTS, ALL_TRACEPOINTS_SAFE): Remove.
	(free_actions): Update signature.
	(validate_actionline): Update signature.
	(end_actions_pseudocommand): Declare.
	(while_stepping_pseudocommand): Declare.
	* tracepoint.c: Include breakpoint.h.
	(tracepoint_chain, tracepoint_count): Remove.
	(free_actions, make_cleanup_free_actions): Update signature.
	(trace_command, set_raw_tracepoint): Remove.
	(trace_mention): Remove.
	(tracepoints_info): Remove.
	(tracepoint_operation, map_args_over_tracepoints): Remove.
	(get_tracepoint_by_number): Remove.
	(enable_trace_command, disable_trace_command): Remove.
	(delete_trace_command, trace_pass_command): Remove.
	(trace_actions_command, read_actions): Update signature.
	(validate_actionline): Update signature, use bp loc.
	(encode_actions): Ditto.
	(download_tracepoint): New function, body of trace_start_command.
	(trace_start_command): Call it, use all_tracepoints.
	(tracepoint_save_command): Remove.
	(tracepoint_dump_command): Use get_tracepoint.
	(end_actions_pseudocommand): Make globally visible.
	(while_stepping_pseudocommand): Ditto.
	(_initialize_tracepoint): Move command definitions to breakpoint.c.

	doc/
	* gdb.texinfo (Tracepoints): Describe tracepoints as a
	special case of breakpoints.
	(Enable and Disable Tracepoints): Mention deprecation.
	(Listing Tracepoints): Update description and example.

	testsuite/
	* gdb.trace/actions.exp: Update to match new info trace format.
	* gdb.trace/deltrace.exp: Ditto.
	* gdb.trace/infotrace.exp: Ditto.
	* gdb.trace/passcount.exp: Ditto.
	* gdb.trace/save-trace.exp: Ditto.
	* gdb.trace/while-stepping.exp: Ditto.
	* gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.

	gdbtk/
	* generic/gdbtk-bp.c (gdb_actions_command): Update to handle
	tracepoints as breakpoints.
	(gdb_get_tracepoint_info): Ditto, plus use get_tracepoint and
	breakpoint locations.
	(tracepoint_exists): Ditto, plus use all_tracepoints.
2009-03-31 05:08:37 +00:00
..
config Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.ada * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise 2009-03-19 14:08:50 +00:00
gdb.arch * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line. 2009-03-29 14:52:54 +00:00
gdb.asm Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.base gdb 2009-03-26 23:30:12 +00:00
gdb.cp gdb: 2009-03-20 23:04:40 +00:00
gdb.disasm Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.dwarf2 gdb/ 2009-03-26 14:47:19 +00:00
gdb.fortran gdb/ 2009-02-12 09:15:07 +00:00
gdb.gdb * observer.c (observer_test_first_notification_function) 2009-02-17 19:52:27 +00:00
gdb.hp Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.java Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.mi * thread.c (do_restore_current_thread_cleanup): Redo test for 2009-03-27 02:44:51 +00:00
gdb.modula2 Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.objc Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.opt Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.pascal * gdb.pascal/floats.exp: Accept approximate results everywhere. 2009-02-18 14:46:14 +00:00
gdb.python gdb/ 2009-03-30 19:54:33 +00:00
gdb.server 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr> 2009-01-22 16:01:10 +00:00
gdb.stabs Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
gdb.threads * dummy-frame.c (dummy_frame): Replace regcache member with 2009-01-19 19:05:01 +00:00
gdb.trace 2009-03-30 Stan Shebs <stan@codesourcery.com> 2009-03-31 05:08:37 +00:00
gdb.xml Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
lib gdb: 2009-03-20 23:04:40 +00:00
.gdbinit
aclocal.m4
ChangeLog 2009-03-30 Stan Shebs <stan@codesourcery.com> 2009-03-31 05:08:37 +00:00
configure * configure.ac: Output gdb.python/Makefile. 2008-10-19 19:59:31 +00:00
configure.ac * configure.ac: Output gdb.python/Makefile. 2008-10-19 19:59:31 +00:00
Makefile.in Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
TODO