
Debugging
GDB to LLDB Command Map for Switching Debuggers
A GDB-to-LLDB command map by task: running, breakpoints, stepping, variables, memory, registers, threads and settings, with the cases where the two differ.
6 min read
Tag
4 posts

A GDB-to-LLDB command map by task: running, breakpoints, stepping, variables, memory, registers, threads and settings, with the cases where the two differ.

A GDB command reference grouped by task, with the short form of each command, an example and the case where that command is the wrong choice.

A cheat sheet of the errno values you meet most on Linux, such as ENOENT, EACCES, EINTR and EAGAIN, with the cause, the reaction and when not to retry.

A cheat sheet of 15 kinds of undefined behavior in C, each with an example, the sanitizer message, the safe fix and when it is not a problem.