diff options
author | johannst <johannst@users.noreply.github.com> | 2023-09-25 16:17:31 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2023-09-25 16:17:31 +0000 |
commit | d5fcc4a2aa7795c01c82075a1285a578b6704414 (patch) | |
tree | f0b00d5ed4a295566e90a6330db38afae2b0fdcc /tools | |
parent | 3839b5e390c53b74f58003cf082030df02391f9a (diff) | |
download | notes-d5fcc4a2aa7795c01c82075a1285a578b6704414.tar.gz notes-d5fcc4a2aa7795c01c82075a1285a578b6704414.zip |
deploy: cdfb2d84b16cf363558d9d2534a26963b53d05b2
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gdb.html | 5 |
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 |