aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gdb.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gdb.html')
-rw-r--r--tools/gdb.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gdb.html b/tools/gdb.html
index 72e3f2e..2df4798 100644
--- a/tools/gdb.html
+++ b/tools/gdb.html
@@ -222,6 +222,9 @@
cond <bp> <cond>
Make existing breakpoint <bp> conditional with <cond>.
+ cond <bp>
+ Remove condition from breakpoint <bp>.
+
tbreak
Set temporary breakpoint, will be deleted when hit.
Same syntax as `break`.
@@ -423,7 +426,7 @@ instruction pointer (<code>$rip</code> x86) and format as instruction <code>/i</
b foo # would create bp 2
# Make existing breakpoint conditional
- cond 2 if i == 7
+ cond 2 i == 7
</code></pre>
<h2 id="set-breakpoint-on-all-threads-except-one"><a class="header" href="#set-breakpoint-on-all-threads-except-one">Set breakpoint on all threads except one</a></h2>
<p>Create conditional breakpoint using the <code>$_thread</code> <a href="https://sourceware.org/gdb/onlinedocs/gdb/Convenience-Vars.html#Convenience-Vars">convenience