aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_notes/gdb.md
diff options
context:
space:
mode:
Diffstat (limited to '_notes/gdb.md')
-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`