From f70bf52b7c5896d1f5446df73dd00687a3a8eec2 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 14 Nov 2022 17:40:11 +0100 Subject: notes/gdb: update --- _notes/gdb.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '_notes') 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` -- cgit v1.2.3