aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-11-14 17:40:11 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-11-14 17:40:11 +0100
commitf70bf52b7c5896d1f5446df73dd00687a3a8eec2 (patch)
tree7a1ad462f150af3020addc4f1d419c32b9419762
parentbump jekyll-theme (diff)
downloadblog-f70bf52b7c5896d1f5446df73dd00687a3a8eec2.tar.gz
blog-f70bf52b7c5896d1f5446df73dd00687a3a8eec2.zip
notes/gdb: update
Diffstat (limited to '')
-rw-r--r--_notes/gdb.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/_notes/gdb.md b/_notes/gdb.md
index 6ca5a28..d634879 100644
--- a/_notes/gdb.md
+++ b/_notes/gdb.md
@@ -51,7 +51,8 @@ Basics
| Run | `r`
| Continue | `c`
-| Create breakpoint | `b FUNC`
+| Breakpoint at function | `b FUNC`
+| Breakpoint at address | `b *0xdeadbeef`
| List breakpoints | `i b`
| Disable breakpoint | `dis N`
| Enable breakpoint | `en N`
@@ -59,6 +60,7 @@ Basics
| Call stack | `bt`
| Call stack: all threads | `thread apply all bt`
| Go to frame | `f N`
+| Switch to thread | `t N`
| Disassemble | `disas FUNC`
| Step over line | `n`
| Step over instruction | `si`