2005-05-30  Michael Snyder  <msnyder@localhost.localdomain>

	Add QTFrame message to support gdb 'tfind' command.
	* demo-tfind.c: New file.
	* Makefile.in: Add demo-tfind.c.
	* demo-target.c (demo_process_set_gen): New function.
	(demo_target): Set process_set_gen for general "set" requests.
	(demo_process_get_regs): Call get_regs_hook if defined.
	(demo_get_mem): Call get_mem_hook if defined.
	* demo-target.h: Export demo_set_gen_hook, demo_get_regs_hook,
	demo_get_mem_hook, and demo_tfind_open.
	* main.c (usage): Document "-t" option to accept tracepoint file.
	(main): Call demo_tfind_open to open tracepoint file.
2005-05-30  Michael Snyder  <msnyder@redhat.com>

	Add support for writing tracepoint/checkpoint data to a file.

	* breakpoint.c (bpstat_stop_status): Add hook for interpreting
	breakpoints as tracepoints, enabling gdb to handle them directly
	by a "default" fallback method (writing data to a file).

	* tracepoint.c (default_tracepoint_method): New user-settable
	mode variable -- tells gdb to use a "default" (fallback) method
	for collecting tracepoint data.
	(trace_start_command, trace_stop_command, trace_status_command):
	Add "default" mode.

	(tracepoint_event_p, default_do_tracepoints_command): New
	functions, entry points into default tracepoint collection method.

	(checkpoint_open, checkpoint_close): Open / close checkpoint file.
	(checkpoint_command): Drop a checkpoint into checkpoint file.

	(emit_checkpoint_method1, emit_checkpoint_method2,
	emit_checkpoint_method3, emit_checkpoint_method4): Experimental
	methods for writing checkpoint/tracepoint data to a file.

	(checkpoint_emit_memrange, checkpoint_emit_gregs,
	checkpoint_emit_stack, checkpoint_emit_id, etc.):
	Support functions for writing checkpoint/tracepoint data.

	(get_tracepoint_by_address): New function.
	(validate_actionline): Add "$stack" pseudo-object for collection.
	(tracepoint_top_of_stack, tracepoint_size_of_stack):
	New user-settable variables.
	(encode_actions): Interpret "$stack" pseudo-object, collect stack.

	* tracepoint.h (default_trace_method, tracepoint_event_p):
	Exported interface for default tracepoint method.
2005-05-30  Michael Snyder  <msnyder@redhat.com>

	Add support for writing tracepoint/checkpoint data to a file.

	* breakpoint.c (bpstat_stop_status): Add hook for interpreting
	breakpoints as tracepoints, enabling gdb to handle them directly
	by a "default" fallback method (writing data to a file).

	* tracepoint.c (default_tracepoint_method): New user-settable
	mode variable -- tells gdb to use a "default" (fallback) method
	for collecting tracepoint data.
	(trace_start_command, trace_stop_command, trace_status_command):
	Add "default" mode.

	(tracepoint_event_p, default_do_tracepoints_command): New
	functions, entry points into default tracepoint collection method.

	(checkpoint_open, checkpoint_close): Open / close checkpoint file.
	(checkpoint_command): Drop a checkpoint into checkpoint file.

	(emit_checkpoint_method1, emit_checkpoint_method2,
	emit_checkpoint_method3, emit_checkpoint_method4): Experimental
	methods for writing checkpoint/tracepoint data to a file.

	(checkpoint_emit_memrange, checkpoint_emit_gregs,
	checkpoint_emit_stack, checkpoint_emit_id, etc.):
	Support functions for writing checkpoint/tracepoint data.

	(get_tracepoint_by_address): New function.
	(validate_actionline): Add "$stack" pseudo-object for collection.
	(tracepoint_top_of_stack, tracepoint_size_of_stack):
	New user-settable variables.
	(encode_actions): Interpret "$stack" pseudo-object, collect stack.

	* tracepoint.h (default_trace_method, tracepoint_event_p):
	Exported interface for default tracepoint method.
Readme file for checkpoints
2005-06-03  Michael Snyder  <msnyder@redhat.com>

	* defs.h (noisy_command, quiet_command): New command types
	to be interpreted by cli-script.c.  Turn on and off 'from_tty'
	output.
	* cli/cli-script.c (noisy_command, quiet_command): Interpret
	new pseudo-commands for user-defined scripts (which otherwise
	will frequently produce no output).
2005-06-03  Michael Snyder  <msnyder@redhat.com>

	* defs.h (noisy_command, quiet_command): New command types
	to be interpreted by cli-script.c.  Turn on and off 'from_tty'
	output.
	* cli/cli-script.c (noisy_command, quiet_command): Interpret
	new pseudo-commands for user-defined scripts (which otherwise
	will frequently produce no output).
2005-05-12  Michael Snyder  <msnyder@redhat.com>

	* target.c (target_read_memory_trusted): New function.
	Implements 'trust-readonly-section'.
	(target_read_partial): Honor trust-readonly-section.
	(target_read_memory_partial): Ditto.
	(target_read_memory): Ditto.
	(do_xfer_memory): Ditto.
2005-05-12  Michael Snyder  <msnyder@redhat.com>

	* target.c (target_read_memory_trusted): New function.
	Implements 'trust-readonly-section'.
	(target_read_partial): Honor trust-readonly-section.
	(target_read_memory_partial): Ditto.
	(target_read_memory): Ditto.
	(do_xfer_memory): Ditto.
2005-05-12  Michael Snyder  <msnyder@redhat.com>

	* tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record.
2005-05-12  Michael Snyder  <msnyder@redhat.com>

	* tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record.
2005-06-03  Michael Snyder  <msnyder@redhat.com>

	* demo-tfind.c (tfind_set_gen): Return "OK" on tfind end.
2005-06-03  Michael Snyder  <msnyder@redhat.com>

	* tracepoint.c, remote.c, target.c, target.h, etc.:
	Begin moving tracepoint methods into the target vector,
	and migrating some of the remote protocol stuff from
	tracepoint.c into remote.c.
Change regbuf size to what gdb expects for i386
2008-06-11  Michael Snyder  <msnyder@specifix.com>

	* demo-tfind.c (tfind_singlestep_program): New function.
	* demo-target.c (demo_singlestep_program): Call the above.
	* demo-target.h: Export tfind_singlestep_program interface.
2008-06-11  Michael Snyder  <msnyder@specifix.com>

	* demo-tfind.c (tfind_singlestep_program): New function.
	* demo-target.c (demo_singlestep_program): Call the above.
	* demo-target.h: Export tfind_singlestep_program interface.
2008-06-11  Michael Snyder  <msnyder@specifix.com>

	* demo-tfind.c (tfind_singlestep_program):
	Add ability to step backward.
2008-06-11  Michael Snyder  <msnyder@specifix.com>

	* gdbserv-state.c (gdbserv_data_packet): Parse reverse step
	and reverse continue packets.  For now, uses an ugly global
	variable to export the reverse flag.
2008-06-12  Michael Snyder  <msnyder@specifix.com>

	* demo-target.c: Implement hooks for software breakpoints.
	(demo_remove_swbp): New function.
	(demo_set_swbp): New function.
	(demo_target): Set up method vectors for set/remove breakpoints.
	* demo-target.h: Export interface for software breakpoints.
	* demo-tfind.c: Implement software breakpoints.
	(tfind_insert_breakpoint): New function.
	(tfind_unlink_breakpoint): New function.
	(tfind_set_swbp): New function.
	(tfind_remove_swbp): New function.

	* demo-target.c: Implement hooks for continue_thread.
	(demo_continue_thread): call tfind_continue_thread.
	* demo-target.h: Export interface for tfind_continue_thread.
	* demo-tfind.c: Implement continue_thread with software breakpoints.
	(tfind_continue_thread): New function.  Find a new frame
	based on software breakpoints.