This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog breakpoint.c infrun.c tracep ...
- From: msnyder at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 30 May 2005 22:33:44 -0000
- Subject: src/gdb ChangeLog breakpoint.c infrun.c tracep ...
CVSROOT: /cvs/src
Module name: src
Branch: msnyder-tracepoint-checkpoint-branch
Changes by: msnyder@sourceware.org 2005-05-30 22:33:44
Modified files:
gdb : ChangeLog breakpoint.c infrun.c tracepoint.c
tracepoint.h
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=msnyder-tracepoint-checkpoint-branch&r1=1.7200&r2=1.7200.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=msnyder-tracepoint-checkpoint-branch&r1=1.217&r2=1.217.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&only_with_tag=msnyder-tracepoint-checkpoint-branch&r1=1.202&r2=1.202.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&only_with_tag=msnyder-tracepoint-checkpoint-branch&r1=1.77&r2=1.77.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.h.diff?cvsroot=src&only_with_tag=msnyder-tracepoint-checkpoint-branch&r1=1.8&r2=1.8.4.1