GDB and LLDB
gdb-lldb 12
GDB vs LLDB 분석 — 두 디버거의 설치·차이·선택 기준
네이티브 디버거의 메커니즘, gdb·lldb 차이, 설치, 첫 세션.
GDB·LLDB 기본 명령 — break·step·next·print 동작 비교
디버거에서 매일 쓰는 핵심 명령 10가지 — 정확한 의미와 자주 쓰는 변형.
디버거로 상태 들여다보기 — 변수·메모리·레지스터·STL 추적
print 만으로 부족한 자리들 — x/memory examine, ptype, STL 컨테이너, pretty printer.
GDB·LLDB Backtrace와 프레임 이동 — Call Stack 분석
bt·frame·up·down — 호출 스택 분석, 프레임 안 변수 조사, 인라인 함수 처리.
Breakpoint와 Watchpoint 분석 — Conditional·Hardware·Catchpoint
조건부 break, watchpoint(변수 변경 추적), catchpoint, hardware vs software.
멀티스레드·멀티프로세스 디버깅 — Non-Stop·Scheduler-Locking·Fork
thread / process apply. scheduler-locking. follow-fork. rr 시간 역행 디버깅.
Core Dump 분석 기법 — gcore·coredumpctl·디버거 활용
ulimit / core_pattern. gdb -c. ELF core 포맷, NT_PRSTATUS, systemd-coredump.
GDB 원격 디버깅 — gdbserver·OpenOCD·J-Link 통합
다른 머신·MCU를 GDB로. RSP, gdbserver, OpenOCD, J-Link, JTAG/SWD, ARM CoreSight.
GDB·LLDB Python 스크립팅 — Pretty-Printer·Custom Command
GDB / LLDB Python API. pretty-printer 작성, 커스텀 명령, 자동화, MI.
GDB·LLDB TUI와 프런트엔드 — gdb-dashboard·gef·pwndbg·VS Code
TUI 모드, cgdb, gdb-dashboard, gef/pwndbg, VSCode, nvim-dap, DAP 프로토콜.
GDB·LLDB 실전 팁 — STL·최적화 코드·시간 역행 디버깅
STL pretty-printers, -O2 디버깅, .gdbinit 추천, rr time-travel. 시리즈 마무리.
DWARF 디버그 정보 — 디버거가 변수와 라인을 찾는 방식
DWARF 표준, DIE / abbrev / line / location, expression VM, CFI, split-DWARF.