aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gdb.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-09-25 16:17:31 +0000
committerjohannst <johannst@users.noreply.github.com>2023-09-25 16:17:31 +0000
commitd5fcc4a2aa7795c01c82075a1285a578b6704414 (patch)
treef0b00d5ed4a295566e90a6330db38afae2b0fdcc /tools/gdb.html
parent3839b5e390c53b74f58003cf082030df02391f9a (diff)
downloadnotes-d5fcc4a2aa7795c01c82075a1285a578b6704414.tar.gz
notes-d5fcc4a2aa7795c01c82075a1285a578b6704414.zip
deploy: cdfb2d84b16cf363558d9d2534a26963b53d05b2
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 &lt;bp&gt; &lt;cond&gt;
Make existing breakpoint &lt;bp&gt; conditional with &lt;cond&gt;.
+ cond &lt;bp&gt;
+ Remove condition from breakpoint &lt;bp&gt;.
+
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