GNU Info

Info Node: (gdb.info)Set Tracepoints

(gdb.info)Set Tracepoints


Next: Analyze Collected Data Up: Tracepoints
Enter node , (file) or (file)node

Commands to Set Tracepoints
===========================

   Before running such a "trace experiment", an arbitrary number of
tracepoints can be set.  Like a breakpoint (Note: Set Breaks), a
tracepoint has a number assigned to it by GDB.  Like with breakpoints,
tracepoint numbers are successive integers starting from one.  Many of
the commands associated with tracepoints take the tracepoint number as
their argument, to identify which tracepoint to work on.

   For each tracepoint, you can specify, in advance, some arbitrary set
of data that you want the target to collect in the trace buffer when it
hits that tracepoint.  The collected data can include registers, local
variables, or global data.  Later, you can use GDB commands to examine
the values these data had at the time the tracepoint was hit.

   This section describes commands to set tracepoints and associated
conditions and actions.

Create and Delete Tracepoints
Enable and Disable Tracepoints
Tracepoint Passcounts
Tracepoint Actions
Listing Tracepoints
Starting and Stopping Trace Experiment

automatically generated by info2www version 1.2.2.9