1<html lang="en"> 2<head> 3<title>Enable and Disable Tracepoints - 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.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Set-Tracepoints.html#Set-Tracepoints" title="Set Tracepoints"> 9<link rel="prev" href="Create-and-Delete-Tracepoints.html#Create-and-Delete-Tracepoints" title="Create and Delete Tracepoints"> 10<link rel="next" href="Tracepoint-Passcounts.html#Tracepoint-Passcounts" title="Tracepoint Passcounts"> 11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12<!-- 13Copyright (C) 1988-2013 Free Software Foundation, Inc. 14 15Permission is granted to copy, distribute and/or modify this document 16under the terms of the GNU Free Documentation License, Version 1.3 or 17any later version published by the Free Software Foundation; with the 18Invariant Sections being ``Free Software'' and ``Free Software Needs 19Free Documentation'', with the Front-Cover Texts being ``A GNU Manual,'' 20and with the Back-Cover Texts as in (a) below. 21 22(a) The FSF's Back-Cover Text is: ``You are free to copy and modify 23this GNU Manual. Buying copies from GNU Press supports the FSF in 24developing GNU and promoting software freedom.'' 25--> 26<meta http-equiv="Content-Style-Type" content="text/css"> 27<style type="text/css"><!-- 28 pre.display { font-family:inherit } 29 pre.format { font-family:inherit } 30 pre.smalldisplay { font-family:inherit; font-size:smaller } 31 pre.smallformat { font-family:inherit; font-size:smaller } 32 pre.smallexample { font-size:smaller } 33 pre.smalllisp { font-size:smaller } 34 span.sc { font-variant:small-caps } 35 span.roman { font-family:serif; font-weight:normal; } 36 span.sansserif { font-family:sans-serif; font-weight:normal; } 37--></style> 38<link rel="stylesheet" type="text/css" href="../cs.css"> 39</head> 40<body> 41<div class="node"> 42<a name="Enable-and-Disable-Tracepoints"></a> 43<p> 44Next: <a rel="next" accesskey="n" href="Tracepoint-Passcounts.html#Tracepoint-Passcounts">Tracepoint Passcounts</a>, 45Previous: <a rel="previous" accesskey="p" href="Create-and-Delete-Tracepoints.html#Create-and-Delete-Tracepoints">Create and Delete Tracepoints</a>, 46Up: <a rel="up" accesskey="u" href="Set-Tracepoints.html#Set-Tracepoints">Set Tracepoints</a> 47<hr> 48</div> 49 50<h4 class="subsection">13.1.2 Enable and Disable Tracepoints</h4> 51 52<p>These commands are deprecated; they are equivalent to plain <code>disable</code> and <code>enable</code>. 53 54 55<a name="index-disable-tracepoint-777"></a> 56<dl><dt><code>disable tracepoint </code><span class="roman">[</span><var>num</var><span class="roman">]</span><dd>Disable tracepoint <var>num</var>, or all tracepoints if no argument 57<var>num</var> is given. A disabled tracepoint will have no effect during 58a trace experiment, but it is not forgotten. You can re-enable 59a disabled tracepoint using the <code>enable tracepoint</code> command. 60If the command is issued during a trace experiment and the debug target 61has support for disabling tracepoints during a trace experiment, then the 62change will be effective immediately. Otherwise, it will be applied to the 63next trace experiment. 64 65 <p><a name="index-enable-tracepoint-778"></a><br><dt><code>enable tracepoint </code><span class="roman">[</span><var>num</var><span class="roman">]</span><dd>Enable tracepoint <var>num</var>, or all tracepoints. If this command is 66issued during a trace experiment and the debug target supports enabling 67tracepoints during a trace experiment, then the enabled tracepoints will 68become effective immediately. Otherwise, they will become effective the 69next time a trace experiment is run. 70</dl> 71 72 </body></html> 73 74