Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Set-Tracepoints.html
blob94cb8eeb781b072f273312608890d7227344e4d9
1 <html lang="en">
2 <head>
3 <title>Debugging with GDB</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="Debugging with GDB">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Set%20Tracepoints">Set Tracepoints</a>,
13 Next:<a rel="next" accesskey="n" href="Analyze-Collected-Data.html#Analyze%20Collected%20Data">Analyze Collected Data</a>,
14 Up:<a rel="up" accesskey="u" href="Tracepoints.html#Tracepoints">Tracepoints</a>
15 <hr><br>
16 </div>
18 <h3 class="section">Commands to Set Tracepoints</h3>
20 <p>Before running such a <dfn>trace experiment</dfn>, an arbitrary number of
21 tracepoints can be set. Like a breakpoint (see <a href="Set-Breaks.html#Set%20Breaks">Set Breaks</a>), a
22 tracepoint has a number assigned to it by GDB. Like with
23 breakpoints, tracepoint numbers are successive integers starting from
24 one. Many of the commands associated with tracepoints take the
25 tracepoint number as their argument, to identify which tracepoint to
26 work on.
28 <p>For each tracepoint, you can specify, in advance, some arbitrary set
29 of data that you want the target to collect in the trace buffer when
30 it hits that tracepoint. The collected data can include registers,
31 local variables, or global data. Later, you can use GDB
32 commands to examine the values these data had at the time the
33 tracepoint was hit.
35 <p>This section describes commands to set tracepoints and associated
36 conditions and actions.
38 <ul class="menu">
39 <li><a accesskey="1" href="Create-and-Delete-Tracepoints.html#Create%20and%20Delete%20Tracepoints">Create and Delete Tracepoints</a>:
40 <li><a accesskey="2" href="Enable-and-Disable-Tracepoints.html#Enable%20and%20Disable%20Tracepoints">Enable and Disable Tracepoints</a>:
41 <li><a accesskey="3" href="Tracepoint-Passcounts.html#Tracepoint%20Passcounts">Tracepoint Passcounts</a>:
42 <li><a accesskey="4" href="Tracepoint-Actions.html#Tracepoint%20Actions">Tracepoint Actions</a>:
43 <li><a accesskey="5" href="Listing-Tracepoints.html#Listing%20Tracepoints">Listing Tracepoints</a>:
44 <li><a accesskey="6" href="Starting-and-Stopping-Trace-Experiment.html#Starting%20and%20Stopping%20Trace%20Experiment">Starting and Stopping Trace Experiment</a>:
45 </ul>
47 </body></html>